[Lldb-commits] [lldb] 3d7d543 - [lldb] Fix a "missing field" warning

Kazu Hirata via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 7 10:25:21 PDT 2021


Author: Kazu Hirata
Date: 2021-10-07T10:25:05-07:00
New Revision: 3d7d5437433c16fd4a9a3674d3752c246961d70e

URL: https://github.com/llvm/llvm-project/commit/3d7d5437433c16fd4a9a3674d3752c246961d70e
DIFF: https://github.com/llvm/llvm-project/commit/3d7d5437433c16fd4a9a3674d3752c246961d70e.diff

LOG: [lldb] Fix a "missing field" warning

This patch fixes:

  llvm-project/lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp:204:6:
  error: missing field 'invalidate_regs' initializer
  [-Werror,-Wmissing-field-initializers]

Added: 
    

Modified: 
    lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp b/lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
index d2f53f71e431a..579eb0809ffd3 100644
--- a/lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
+++ b/lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
@@ -200,6 +200,7 @@ static const RegisterInfo g_register_infos[] = {
      eFormatHex,
      {dwarf_cfa, dwarf_cfa, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM},
      nullptr,
+     nullptr,
      }};
 
 static const uint32_t k_num_register_infos =


        


More information about the lldb-commits mailing list