[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 14 15:30:18 PDT 2025


================
@@ -2405,9 +2406,9 @@ ModuleSP Target::GetOrCreateModule(const ModuleSpec &orig_module_spec,
           transformed_spec.GetFileSpec().SetDirectory(transformed_dir);
           transformed_spec.GetFileSpec().SetFilename(
                 module_spec.GetFileSpec().GetFilename());
+          transformed_spec.SetTarget(this->shared_from_this());
----------------
GeorgeHuyubo wrote:

this->

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


More information about the lldb-commits mailing list