================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits