================
@@ -1706,6 +1706,8 @@ bool Target::SetArchitecture(const ArchSpec &arch_spec,
bool set_platform,
if (PlatformSP arch_platform_sp =
GetDebugger().GetPlatformList().GetOrCreate(other, {},
&platform_arch)) {
+ arch_platform_sp->SetLocateModuleCallback(
+ platform_sp->GetLocateModuleCallback());
----------------
clayborg wrote:
This almost seems like the SetLocateModuleCallback should be on the target
instead of on the platform. But this will work around the issue for sure.
https://github.com/llvm/llvm-project/pull/143793
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits