[Lldb-commits] [lldb] [LLDB][Minidump] Have Minidumps save off and properly read TLS data (PR #109477)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 8 01:50:01 PDT 2024


================
@@ -6528,6 +6528,75 @@ static void AddRegion(const MemoryRegionInfo &region, bool try_dirty_pages,
                 CreateCoreFileMemoryRange(region));
 }
 
+static void AddSegmentRegisterSections(Process &process, ThreadSP &thread_sp,
----------------
labath wrote:

This name is very x86 specific (other architectures don't have "segment registers"). If this is to be generic code, then I guess what you're really trying to do is to save memory regions which are pointed to by the "tp" register.

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


More information about the lldb-commits mailing list