[Lldb-commits] [lldb] [llvm] [lldb] Split register descriptions from ProcessUtility (PR #222330)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 9 06:30:34 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Minsoo Choo (mchoo7)
<details>
<summary>Changes</summary>
Register-related code has cluttered up the `Process/Utility` and the naming `RegisterContext/RegisterInfo` is also inconsistent across different files. Create a new lldb library `lldbRegisterSupport` to isolate classes derived from `RegisterInfoInterface`. The classes named `RegisterContext*` that are derived from `RegisterInfoInterface` will be renamed to `RegisterInfo*` in following commits.
Move some x86 register descriptions from `RegisterContextPOSIX_x86` to `RegisterContext_x86` since they are independent from the POSIX interface.
---
Patch is 53.02 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/222330.diff
19 Files Affected:
- (modified) lldb/source/Plugins/Process/Utility/CMakeLists.txt (+37-23)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp (+3-1)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp (-197)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h (-93)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContext_x86.cpp (+200)
- (modified) lldb/source/Plugins/Process/Utility/RegisterContext_x86.h (+96)
- (modified) lldb/source/Plugins/Process/Utility/RegisterInfos_i386.h (+8-8)
- (modified) lldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h (+12-12)
- (modified) lldb/unittests/Instruction/CMakeLists.txt (+1)
- (modified) lldb/unittests/Process/Utility/CMakeLists.txt (+9-2)
- (modified) lldb/unittests/Process/minidump/CMakeLists.txt (+1)
- (modified) llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn (+39-23)
``````````diff
diff --git a/lldb/source/Plugins/Process/Utility/CMakeLists.txt b/lldb/source/Plugins/Process/Utility/CMakeLists.txt
index 90cf4d20bbc07..33367fbb498b7 100644
--- a/lldb/source/Plugins/Process/Utility/CMakeLists.txt
+++ b/lldb/source/Plugins/Process/Utility/CMakeLists.txt
@@ -1,7 +1,43 @@
# TODO: Clean up this directory and its dependencies
set_property(DIRECTORY PROPERTY LLDB_PLUGIN_KIND ProcessUtility)
+add_lldb_library(lldbRegisterSupport NO_PLUGIN_DEPENDENCIES
+ PARTIAL_SOURCES_INTENDED
+ RegisterContext_x86.cpp
+ RegisterContextFreeBSD_i386.cpp
+ RegisterContextFreeBSD_powerpc.cpp
+ RegisterContextFreeBSD_x86_64.cpp
+ RegisterContextLinux_i386.cpp
+ RegisterContextLinux_x86_64.cpp
+ RegisterContextLinux_s390x.cpp
+ RegisterContextNetBSD_i386.cpp
+ RegisterContextNetBSD_x86_64.cpp
+ RegisterContextOpenBSD_i386.cpp
+ RegisterContextOpenBSD_x86_64.cpp
+ RegisterContextWindows_i386.cpp
+ RegisterContextWindows_x86_64.cpp
+ RegisterTypeDetector_arm64.cpp
+ RegisterInfos_x86_64_with_base_shared.cpp
+ RegisterInfoPOSIX_arm.cpp
+ RegisterInfoPOSIX_arm64.cpp
+ RegisterInfoPOSIX_loongarch64.cpp
+ RegisterInfoPOSIX_ppc64le.cpp
+ RegisterInfoPOSIX_ppc64.cpp
+ RegisterInfoPOSIX_riscv32.cpp
+ RegisterInfoPOSIX_riscv64.cpp
+ RegisterInfoPOSIXDynamic_riscv32.cpp
+
+ LINK_COMPONENTS
+ Support
+ TargetParser
+ LINK_LIBS
+ lldbUtility
+ ALLOWED_INTERNAL_DEPENDENCIES
+ lldbUtility
+ )
+
add_lldb_library(lldbPluginProcessUtility
+ PARTIAL_SOURCES_INTENDED
AuxVector.cpp
FreeBSDSignals.cpp
GDBRemoteSignals.cpp
@@ -20,26 +56,15 @@ add_lldb_library(lldbPluginProcessUtility
NativeRegisterContextRegisterInfo.cpp
NetBSDSignals.cpp
OpenBSDSignals.cpp
- RegisterContext_x86.cpp
RegisterContextDarwin_arm.cpp
RegisterContextDarwin_arm64.cpp
RegisterContextDarwin_riscv32.cpp
RegisterContextDarwin_x86_64.cpp
RegisterContextDummy.cpp
- RegisterContextFreeBSD_i386.cpp
- RegisterContextFreeBSD_powerpc.cpp
- RegisterContextFreeBSD_x86_64.cpp
RegisterContextHistory.cpp
- RegisterContextLinux_i386.cpp
- RegisterContextLinux_x86_64.cpp
- RegisterContextLinux_s390x.cpp
RegisterContextMach_arm.cpp
RegisterContextMach_x86_64.cpp
RegisterContextMemory.cpp
- RegisterContextNetBSD_i386.cpp
- RegisterContextNetBSD_x86_64.cpp
- RegisterContextOpenBSD_i386.cpp
- RegisterContextOpenBSD_x86_64.cpp
RegisterContextPOSIX_arm.cpp
RegisterContextPOSIX_arm64.cpp
RegisterContextPOSIX_loongarch64.cpp
@@ -50,18 +75,6 @@ add_lldb_library(lldbPluginProcessUtility
RegisterContextPOSIX_s390x.cpp
RegisterContextPOSIX_x86.cpp
RegisterContextThreadMemory.cpp
- RegisterContextWindows_i386.cpp
- RegisterContextWindows_x86_64.cpp
- RegisterTypeDetector_arm64.cpp
- RegisterInfos_x86_64_with_base_shared.cpp
- RegisterInfoPOSIX_arm.cpp
- RegisterInfoPOSIX_arm64.cpp
- RegisterInfoPOSIX_loongarch64.cpp
- RegisterInfoPOSIX_ppc64le.cpp
- RegisterInfoPOSIX_ppc64.cpp
- RegisterInfoPOSIX_riscv32.cpp
- RegisterInfoPOSIX_riscv64.cpp
- RegisterInfoPOSIXDynamic_riscv32.cpp
StopInfoMachException.cpp
ThreadMemory.cpp
@@ -69,6 +82,7 @@ add_lldb_library(lldbPluginProcessUtility
Support
TargetParser
LINK_LIBS
+ lldbRegisterSupport
lldbBreakpoint
lldbCore
lldbDataFormatters
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
index 841ae170466b5..86ce13461426f 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
@@ -7,7 +7,9 @@
//===---------------------------------------------------------------------===//
#include "RegisterContextFreeBSD_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
using namespace lldb_private;
using namespace lldb;
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
index 2a382175acfb3..895f827b6c626 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
@@ -8,7 +8,9 @@
#include "RegisterContextFreeBSD_x86_64.h"
#include "RegisterContextFreeBSD_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
#include "llvm/Support/Threading.h"
#include <vector>
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
index 9e022baa297bb..a491e4536b873 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
@@ -7,7 +7,9 @@
//===---------------------------------------------------------------------===//
#include "RegisterContextLinux_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
using namespace lldb_private;
using namespace lldb;
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
index 63c034a858d7d..ae10504397125 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
@@ -8,7 +8,9 @@
#include "RegisterContextLinux_x86_64.h"
#include "RegisterContextLinux_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
#include <vector>
using namespace lldb_private;
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp
index a160c87db6cf9..b1c4b773f3637 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp
@@ -7,7 +7,9 @@
//===----------------------------------------------------------------------===//
#include "RegisterContextNetBSD_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
using namespace lldb_private;
using namespace lldb;
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
index 32bb7952820d8..d3e7466654e78 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
@@ -8,7 +8,9 @@
#include "RegisterContextNetBSD_x86_64.h"
#include "RegisterContextNetBSD_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
#include "llvm/Support/Compiler.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp
index ddf6cc5c3c65b..b868f3aed848a 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp
@@ -7,7 +7,9 @@
//===---------------------------------------------------------------------===//
#include "RegisterContextOpenBSD_i386.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
using namespace lldb_private;
using namespace lldb;
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
index 05c1f83efded7..4d7b8970affcb 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
@@ -7,7 +7,9 @@
//===---------------------------------------------------------------------===//
#include "RegisterContextOpenBSD_x86_64.h"
-#include "RegisterContextPOSIX_x86.h"
+#include "RegisterContext_x86.h"
+#include "lldb-x86-register-enums.h"
+#include "lldb/lldb-defines.h"
#include <vector>
using namespace lldb_private;
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
index c14eb135c7b10..53b033a83c242 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
@@ -156,203 +156,6 @@ static_assert((sizeof(g_avx_regnums_x86_64) / sizeof(g_avx_regnums_x86_64[0])) -
k_num_avx_registers_x86_64,
"g_avx_regnums_x86_64 has wrong number of register infos");
-uint32_t RegisterContextPOSIX_x86::g_contained_eax[] = {lldb_eax_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_ebx[] = {lldb_ebx_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_ecx[] = {lldb_ecx_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_edx[] = {lldb_edx_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_edi[] = {lldb_edi_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_esi[] = {lldb_esi_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_ebp[] = {lldb_ebp_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_esp[] = {lldb_esp_i386,
- LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_invalidate_eax[] = {
- lldb_eax_i386, lldb_ax_i386, lldb_ah_i386, lldb_al_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_ebx[] = {
- lldb_ebx_i386, lldb_bx_i386, lldb_bh_i386, lldb_bl_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_ecx[] = {
- lldb_ecx_i386, lldb_cx_i386, lldb_ch_i386, lldb_cl_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_edx[] = {
- lldb_edx_i386, lldb_dx_i386, lldb_dh_i386, lldb_dl_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_edi[] = {
- lldb_edi_i386, lldb_di_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_esi[] = {
- lldb_esi_i386, lldb_si_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_ebp[] = {
- lldb_ebp_i386, lldb_bp_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_esp[] = {
- lldb_esp_i386, lldb_sp_i386, LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_contained_rax[] = {lldb_rax_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rbx[] = {lldb_rbx_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rcx[] = {lldb_rcx_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rdx[] = {lldb_rdx_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rdi[] = {lldb_rdi_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rsi[] = {lldb_rsi_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rbp[] = {lldb_rbp_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_rsp[] = {lldb_rsp_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r8[] = {lldb_r8_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r9[] = {lldb_r9_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r10[] = {lldb_r10_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r11[] = {lldb_r11_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r12[] = {lldb_r12_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r13[] = {lldb_r13_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r14[] = {lldb_r14_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_r15[] = {lldb_r15_x86_64,
- LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rax[] = {
- lldb_rax_x86_64, lldb_eax_x86_64, lldb_ax_x86_64,
- lldb_ah_x86_64, lldb_al_x86_64, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rbx[] = {
- lldb_rbx_x86_64, lldb_ebx_x86_64, lldb_bx_x86_64,
- lldb_bh_x86_64, lldb_bl_x86_64, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rcx[] = {
- lldb_rcx_x86_64, lldb_ecx_x86_64, lldb_cx_x86_64,
- lldb_ch_x86_64, lldb_cl_x86_64, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rdx[] = {
- lldb_rdx_x86_64, lldb_edx_x86_64, lldb_dx_x86_64,
- lldb_dh_x86_64, lldb_dl_x86_64, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rdi[] = {
- lldb_rdi_x86_64, lldb_edi_x86_64, lldb_di_x86_64, lldb_dil_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rsi[] = {
- lldb_rsi_x86_64, lldb_esi_x86_64, lldb_si_x86_64, lldb_sil_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rbp[] = {
- lldb_rbp_x86_64, lldb_ebp_x86_64, lldb_bp_x86_64, lldb_bpl_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_rsp[] = {
- lldb_rsp_x86_64, lldb_esp_x86_64, lldb_sp_x86_64, lldb_spl_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r8[] = {
- lldb_r8_x86_64, lldb_r8d_x86_64, lldb_r8w_x86_64, lldb_r8l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r9[] = {
- lldb_r9_x86_64, lldb_r9d_x86_64, lldb_r9w_x86_64, lldb_r9l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r10[] = {
- lldb_r10_x86_64, lldb_r10d_x86_64, lldb_r10w_x86_64, lldb_r10l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r11[] = {
- lldb_r11_x86_64, lldb_r11d_x86_64, lldb_r11w_x86_64, lldb_r11l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r12[] = {
- lldb_r12_x86_64, lldb_r12d_x86_64, lldb_r12w_x86_64, lldb_r12l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r13[] = {
- lldb_r13_x86_64, lldb_r13d_x86_64, lldb_r13w_x86_64, lldb_r13l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r14[] = {
- lldb_r14_x86_64, lldb_r14d_x86_64, lldb_r14w_x86_64, lldb_r14l_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_r15[] = {
- lldb_r15_x86_64, lldb_r15d_x86_64, lldb_r15w_x86_64, lldb_r15l_x86_64,
- LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_contained_fip[] = {lldb_fip_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_fdp[] = {lldb_fdp_x86_64,
- LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_invalidate_fip[] = {
- lldb_fip_x86_64, lldb_fioff_x86_64, lldb_fiseg_x86_64, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_fdp[] = {
- lldb_fdp_x86_64, lldb_fooff_x86_64, lldb_foseg_x86_64, LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_contained_st0_32[] = {lldb_st0_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st1_32[] = {lldb_st1_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st2_32[] = {lldb_st2_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st3_32[] = {lldb_st3_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st4_32[] = {lldb_st4_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st5_32[] = {lldb_st5_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st6_32[] = {lldb_st6_i386,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st7_32[] = {lldb_st7_i386,
- LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st0_32[] = {
- lldb_st0_i386, lldb_mm0_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st1_32[] = {
- lldb_st1_i386, lldb_mm1_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st2_32[] = {
- lldb_st2_i386, lldb_mm2_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st3_32[] = {
- lldb_st3_i386, lldb_mm3_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st4_32[] = {
- lldb_st4_i386, lldb_mm4_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st5_32[] = {
- lldb_st5_i386, lldb_mm5_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st6_32[] = {
- lldb_st6_i386, lldb_mm6_i386, LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_invalidate_st7_32[] = {
- lldb_st7_i386, lldb_mm7_i386, LLDB_INVALID_REGNUM};
-
-uint32_t RegisterContextPOSIX_x86::g_contained_st0_64[] = {lldb_st0_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st1_64[] = {lldb_st1_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st2_64[] = {lldb_st2_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st3_64[] = {lldb_st3_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st4_64[] = {lldb_st4_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st5_64[] = {lldb_st5_x86_64,
- LLDB_INVALID_REGNUM};
-uint32_t RegisterContextPOSIX_x86::g_contained_st6_64[] = {lldb_st6_x86_64,
- LLDB_INVALID...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/222330
More information about the lldb-commits
mailing list