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 @@ -684,15 +684,8 @@ bool DynamicLoaderDarwin::AddModulesUsingImageInfos(
684
684
// Update the module's platform with the DYLD info.
685
685
ArchSpec dyld_spec = image_infos[idx].GetArchitecture ();
686
686
if (dyld_spec.GetTriple ().getOS () == llvm::Triple::IOS &&
687
- dyld_spec.GetTriple ().getEnvironment () == llvm::Triple::MacABI) {
687
+ dyld_spec.GetTriple ().getEnvironment () == llvm::Triple::MacABI)
688
688
image_module_sp->MergeArchitecture (dyld_spec);
689
- const auto &target_triple = target.GetArchitecture ().GetTriple ();
690
- // If dyld reports the process as being loaded as MACCATALYST,
691
- // force-update the target's architecture to MACCATALYST.
692
- if (!(target_triple.getOS () == llvm::Triple::IOS &&
693
- target_triple.getEnvironment () == llvm::Triple::MacABI))
694
- target.SetArchitecture (dyld_spec);
695
- }
696
689
}
697
690
}
698
691
You can’t perform that action at this time.
0 commit comments