[Lldb-commits] [lldb] [lldb] Implement thread local storage for linux (PR #67470)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 26 14:11:20 PDT 2023


================
@@ -144,6 +144,8 @@ class RegisterContext : public std::enable_shared_from_this<RegisterContext>,
 
   uint64_t GetPC(uint64_t fail_value = LLDB_INVALID_ADDRESS);
 
+  uint64_t GetThreadPointer(uint64_t fail_value = LLDB_INVALID_ADDRESS);
----------------
clayborg wrote:

Need some header documention here unless we have it elsewhere describing that if there is a regsister that points to thread specific data, like TLS data and other thread specific stuff, this is the register.

https://github.com/llvm/llvm-project/pull/67470


More information about the lldb-commits mailing list