File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -685,15 +685,8 @@ bool DynamicLoaderDarwin::AddModulesUsingImageInfos(
685
685
// Update the module's platform with the DYLD info.
686
686
ArchSpec dyld_spec = image_infos[idx].GetArchitecture ();
687
687
if (dyld_spec.GetTriple ().getOS () == llvm::Triple::IOS &&
688
- dyld_spec.GetTriple ().getEnvironment () == llvm::Triple::MacABI) {
688
+ dyld_spec.GetTriple ().getEnvironment () == llvm::Triple::MacABI)
689
689
image_module_sp->MergeArchitecture (dyld_spec);
690
- const auto &target_triple = target.GetArchitecture ().GetTriple ();
691
- // If dyld reports the process as being loaded as MACCATALYST,
692
- // force-update the target's architecture to MACCATALYST.
693
- if (!(target_triple.getOS () == llvm::Triple::IOS &&
694
- target_triple.getEnvironment () == llvm::Triple::MacABI))
695
- target.SetArchitecture (dyld_spec);
696
- }
697
690
}
698
691
}
699
692
You can’t perform that action at this time.
0 commit comments