[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
Mon Sep 23 02:21:07 PDT 2024


================
@@ -333,6 +335,23 @@ ArchSpec ProcessMinidump::GetArchitecture() {
   return ArchSpec(triple);
 }
 
+DynamicLoader *ProcessMinidump::GetDynamicLoader() {
+  if (m_dyld_up.get() == nullptr)
+    m_dyld_up.reset(DynamicLoader::FindPlugin(
+        this, DynamicLoaderPOSIXDYLD::GetPluginNameStatic()));
----------------
labath wrote:

The dynamic loader choice will only be correct linux (and other elf systems). How about we drop this override to get the default behavior?

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


More information about the lldb-commits mailing list