[Lldb-commits] [lldb] 54378a7 - [lldb][Windows] Fix -Wmissing-field-initializers warnings after 54981bb75d374 (#76255)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 3 02:12:34 PST 2024
Author: Nico Weber
Date: 2024-01-03T10:12:30Z
New Revision: 54378a7c2fd7f0ed0a3ea7ef08bc24896700e2c5
URL: https://github.com/llvm/llvm-project/commit/54378a7c2fd7f0ed0a3ea7ef08bc24896700e2c5
DIFF: https://github.com/llvm/llvm-project/commit/54378a7c2fd7f0ed0a3ea7ef08bc24896700e2c5.diff
LOG: [lldb][Windows] Fix -Wmissing-field-initializers warnings after 54981bb75d374 (#76255)
Added:
Modified:
lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
Removed:
################################################################################
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 {
More information about the lldb-commits
mailing list