[Lldb-commits] [lldb] [LLDB][Minidump] Have Minidumps save off and properly read TLS data (PR #109477)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 20 17:19:35 PDT 2024
================
@@ -6528,6 +6528,74 @@ static void AddRegion(const MemoryRegionInfo ®ion, bool try_dirty_pages,
CreateCoreFileMemoryRange(region));
}
+static void AddRegisterSections(Process &process, ThreadSP &thread_sp,
+ CoreFileMemoryRanges &ranges,
+ lldb::addr_t range_end) {
+ lldb::RegisterContextSP reg_ctx = thread_sp->GetRegisterContext();
+ if (!reg_ctx)
+ return;
+
+ const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo(
----------------
jeffreytan81 wrote:
Let's be specific what register we are getting here. `thread_pointer_register_info` or `thread_specific_register_info`.
https://github.com/llvm/llvm-project/pull/109477
More information about the lldb-commits
mailing list