Skip to content

Commit 1a9bad5

Browse files
author
git apple-llvm automerger
committed
Merge commit 'bb2337537035' from swift/release/5.3 into swift/master
2 parents 0d4deaa + bb23375 commit 1a9bad5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -684,15 +684,8 @@ bool DynamicLoaderDarwin::AddModulesUsingImageInfos(
684684
// Update the module's platform with the DYLD info.
685685
ArchSpec dyld_spec = image_infos[idx].GetArchitecture();
686686
if (dyld_spec.GetTriple().getOS() == llvm::Triple::IOS &&
687-
dyld_spec.GetTriple().getEnvironment() == llvm::Triple::MacABI) {
687+
dyld_spec.GetTriple().getEnvironment() == llvm::Triple::MacABI)
688688
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-
}
696689
}
697690
}
698691

0 commit comments

Comments
 (0)