[Lldb-commits] [lldb] 593be02 - [lldb] Remove broken comments originally written as table headers (NFC) (#116089)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 14 09:28:31 PST 2024
Author: Dave Lee
Date: 2024-11-14T09:28:27-08:00
New Revision: 593be023615a456ca6ee0ef9bedc21301d73b73c
URL: https://github.com/llvm/llvm-project/commit/593be023615a456ca6ee0ef9bedc21301d73b73c
DIFF: https://github.com/llvm/llvm-project/commit/593be023615a456ca6ee0ef9bedc21301d73b73c.diff
LOG: [lldb] Remove broken comments originally written as table headers (NFC) (#116089)
Automatic formatting has removed the utility of these comments.
Added:
Modified:
lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h
lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp b/lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
index 08c613c7b0d0c3..6aadf652da7813 100644
--- a/lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
+++ b/lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
@@ -36,12 +36,6 @@ using namespace lldb;
using namespace lldb_private;
static const RegisterInfo g_register_infos[] = {
- // NAME ALT SZ OFF ENCODING FORMAT EH_FRAME
- // DWARF GENERIC PROCESS PLUGIN
- // LLDB NATIVE
- // ========== ======= == === ============= ============
- // ======================= =================== ===========================
- // ======================= ======================
{"r0",
nullptr,
4,
diff --git a/lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp b/lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
index 1a0e44f1936b8d..d67591ffa109bc 100644
--- a/lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
+++ b/lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
@@ -38,13 +38,6 @@ using namespace lldb_private;
LLDB_PLUGIN_DEFINE(ABISysV_arm)
static const RegisterInfo g_register_infos[] = {
- // NAME ALT SZ OFF ENCODING FORMAT EH_FRAME
- // DWARF GENERIC PROCESS PLUGIN
- // LLDB NATIVE VALUE REGS INVALIDATE REGS
- // ========== ======= == === ============= ============
- // ======================= =================== ===========================
- // ======================= ====================== ==========
- // ===============
{"r0",
nullptr,
4,
diff --git a/lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp b/lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
index d21ee8ac04a212..9c7312b975c4b6 100644
--- a/lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
+++ b/lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
@@ -78,12 +78,6 @@ enum dwarf_regnums {
};
static const RegisterInfo g_register_infos[] = {
- // NAME ALT SZ OFF ENCODING FORMAT EH_FRAME
- // DWARF GENERIC PROCESS PLUGINS
- // LLDB NATIVE VALUE REGS INVALIDATE REGS
- // ======== ====== == === ============= =========== ============
- // ============== ============ =================
- // =================== ========== =================
{"r0",
"zero",
4,
diff --git a/lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp b/lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
index 100d52bfd1c8ba..4cc37dd7acf09e 100644
--- a/lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
+++ b/lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
@@ -78,12 +78,6 @@ enum dwarf_regnums {
};
static const RegisterInfo g_register_infos_mips64[] = {
- // NAME ALT SZ OFF ENCODING FORMAT EH_FRAME
- // DWARF GENERIC PROCESS PLUGIN
- // LLDB NATIVE
- // ======== ====== == === ============= ========== =============
- // ================= ==================== =================
- // ====================
{"r0",
"zero",
8,
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
index c23e82a741a0ae..094b46bf861df7 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
@@ -184,13 +184,6 @@ enum {
sizeof(RegisterContextDarwin_arm::EXC))
static RegisterInfo g_register_infos[] = {
- // General purpose registers
- // NAME ALT SZ OFFSET ENCODING FORMAT
- // EH_FRAME DWARF GENERIC
- // PROCESS PLUGIN LLDB NATIVE
- // ====== ======= == ============= ============= ============
- // =============== =============== =========================
- // ===================== =============
{"r0",
nullptr,
4,
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
index bae34af43a9263..174a5a567d2ddd 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
@@ -165,11 +165,6 @@ enum {
sizeof(RegisterContextDarwin_i386::EXC))
static RegisterInfo g_register_infos[] = {
- // Macro auto defines most stuff eh_frame DWARF
- // GENERIC PROCESS PLUGIN LLDB
- // =============================== =======================
- // =================== ========================= ==================
- // =================
{DEFINE_GPR(eax, nullptr),
{ehframe_eax, dwarf_eax, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM,
gpr_eax},
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
index 08d84e827090de..8e16d2e7fb0fb8 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
@@ -184,11 +184,6 @@ enum ehframe_dwarf_regnums {
// General purpose registers for 64 bit
static RegisterInfo g_register_infos[] = {
- // Macro auto defines most stuff EH_FRAME DWARF
- // GENERIC PROCESS PLUGIN LLDB
- // =============================== ======================
- // =================== ========================== ====================
- // ===================
{DEFINE_GPR(rax, nullptr),
{ehframe_dwarf_gpr_rax, ehframe_dwarf_gpr_rax, LLDB_INVALID_REGNUM,
LLDB_INVALID_REGNUM, gpr_rax},
diff --git a/lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h b/lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h
index ae6a442d7a1db1..f535ca40c40303 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h
@@ -363,13 +363,6 @@ static uint32_t g_q15_contained[] = {fpu_q15, LLDB_INVALID_REGNUM};
}
static RegisterInfo g_register_infos_arm[] = {
- // NAME ALT SZ OFFSET ENCODING FORMAT
- // EH_FRAME DWARF GENERIC
- // PROCESS PLUGIN LLDB NATIVE VALUE REGS INVALIDATE REGS
- // =========== ======= == ============== ================
- // ==================== =================== ===================
- // ========================== =================== =============
- // ============== =================
{
"r0",
nullptr,
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 8740104331380e..ee9adbe8a5e6e3 100644
--- a/lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
@@ -163,12 +163,6 @@ enum RegisterIndex {
// Array of all register information supported by Windows x86
RegisterInfo g_register_infos[] = {
- // Macro auto defines most stuff eh_frame DWARF
- // GENERIC
- // GDB LLDB VALUE REGS INVALIDATE REGS
- // ================================ =========================
- // ====================== =========================
- // =================== ================= ========== ===============
DEFINE_GPR(rax, nullptr, LLDB_INVALID_REGNUM),
DEFINE_GPR(rbx, nullptr, LLDB_INVALID_REGNUM),
DEFINE_GPR(rcx, nullptr, LLDB_REGNUM_GENERIC_ARG1),
diff --git a/lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp b/lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp
index 74a9d9fbd57801..3f4c6494deb473 100644
--- a/lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp
@@ -51,12 +51,6 @@ enum RegisterIndex {
// Array of all register information supported by Windows x86
RegisterInfo g_register_infos[] = {
- // Macro auto defines most stuff eh_frame DWARF
- // GENERIC GDB LLDB
- // VALUE REGS INVALIDATE REGS
- // ============================== =======================
- // =================== ========================= ===================
- // ================= ========== ===============
{DEFINE_GPR(eax, nullptr),
{ehframe_eax_i386, dwarf_eax_i386, LLDB_INVALID_REGNUM,
LLDB_INVALID_REGNUM, lldb_eax_i386},
More information about the lldb-commits
mailing list