[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
================
@@ -1776,9 +1776,9 @@ bool Target::SetArchitecture(const ArchSpec &arch_spec, bool set_platform,
arch_spec.GetArchitectureName(),
arch_spec.GetTriple().getTriple().c_str());
ModuleSpec module_spec(executable_sp->GetFileSpec(), other);
- FileSpecList search_paths = GetExecutableSearchPaths();
+ module_spec.SetTarget(this->shared_from_this());
----------------
GeorgeHuyubo wrote:
Remove this->
https://github.com/llvm/llvm-project/pull/160199
More information about the lldb-commits
mailing list