Skip to content

Commit 3b6592c

Browse files
committed
Make tpidr a generic thread pointer register on aarch
1 parent ef68d15 commit 3b6592c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ static lldb_private::RegisterInfo g_register_infos_mte[] = {
7979
DEFINE_EXTENSION_REG(mte_ctrl)};
8080

8181
static lldb_private::RegisterInfo g_register_infos_tls[] = {
82-
DEFINE_EXTENSION_REG(tpidr),
82+
{"tpidr", nullptr, 8, 0, lldb::eEncodingUint, lldb::eFormatHex,
83+
{LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, LLDB_REGNUM_GENERIC_TP}, nullptr, nullptr, nullptr},
8384
// Only present when SME is present
8485
DEFINE_EXTENSION_REG(tpidr2)};
8586

0 commit comments

Comments
 (0)