[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
Thu Oct 10 02:42:46 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:

Slightly less of a concern, but it still isn't right as this is still used for architectures without segment registers. It's also completely avoidable -- you could just call this "AddThreadLocalMemoryRegions" or something like that..

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


More information about the lldb-commits mailing list