https://github.com/nico created https://github.com/llvm/llvm-project/pull/76255

None

>From 7bd8eade99bbf2408a35462f1f4f643d9649efb3 Mon Sep 17 00:00:00 2001
From: Nico Weber <tha...@chromium.org>
Date: Fri, 22 Dec 2023 12:18:34 -0500
Subject: [PATCH] [lldb/win] Fix -Wmissing-field-initializers warnings after
 54981bb75d374

---
 .../Windows/Common/x64/RegisterContextWindows_x64.cpp  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp 
b/lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
index 5c4f80b97009a3..fee485b7599ca0 100644
--- 
a/lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
+++ 
b/lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
@@ -29,7 +29,7 @@ using namespace lldb_private;
   #reg, alt, 8, 0, eEncodingUint, eFormatHexUppercase,                         
\
       {dwarf_##reg##_x86_64, dwarf_##reg##_x86_64, generic,                    
\
         LLDB_INVALID_REGNUM, lldb_##reg##_x86_64 },                            
\
-        nullptr, nullptr,                                                      
\
+        nullptr, nullptr, nullptr,                                             
\
 }
 
 #define DEFINE_GPR_BIN(reg, alt) #reg, alt, 8, 0, eEncodingUint, eFormatBinary
@@ -37,14 +37,14 @@ using namespace lldb_private;
   #reg, NULL, 16, 0, eEncodingUint, eFormatVectorOfUInt64,                     
\
   {dwarf_##reg##_x86_64, dwarf_##reg##_x86_64, LLDB_INVALID_REGNUM,            
\
    LLDB_INVALID_REGNUM, lldb_##reg##_x86_64},                                  
\
-  nullptr, nullptr
+  nullptr, nullptr, nullptr,
 
 #define DEFINE_GPR_PSEUDO_32(reg)                                              
\
 {                                                                              
\
   #reg, nullptr, 4, 0, eEncodingUint, eFormatHexUppercase,                     
\
       {LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM,          
\
         LLDB_INVALID_REGNUM, lldb_##reg##_x86_64 },                            
\
-        nullptr, nullptr                                                       
\
+        nullptr, nullptr, nullptr,                                             
\
 }
 
 #define DEFINE_GPR_PSEUDO_16(reg)                                              
\
@@ -52,7 +52,7 @@ using namespace lldb_private;
   #reg, nullptr, 2, 0, eEncodingUint, eFormatHexUppercase,                     
\
       {LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM,          
\
         LLDB_INVALID_REGNUM, lldb_##reg##_x86_64 },                            
\
-        nullptr, nullptr                                                       
\
+        nullptr, nullptr, nullptr,                                             
\
 }
 
 #define DEFINE_GPR_PSEUDO_8(reg)                                               
\
@@ -60,7 +60,7 @@ using namespace lldb_private;
   #reg, nullptr, 1, 0, eEncodingUint, eFormatHexUppercase,                     
\
       {LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM,          
\
         LLDB_INVALID_REGNUM, lldb_##reg##_x86_64 },                            
\
-        nullptr, nullptr                                                       
\
+        nullptr, nullptr, nullptr,                                             
\
 }
 
 namespace {

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to