aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2025-06-05 16:23:27 -0700
committerJason Molenda <jmolenda@apple.com>2025-06-05 16:24:31 -0700
commitf961d6a89abe5a6fb70afc043f33b2efcec77536 (patch)
tree4d4698ee03b29b4cc538a16414c315bd48d504dd /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
parent34c011d544c8b562a4e5be86d8fc8e531de961bd (diff)
downloadllvm-f961d6a89abe5a6fb70afc043f33b2efcec77536.zip
llvm-f961d6a89abe5a6fb70afc043f33b2efcec77536.tar.gz
llvm-f961d6a89abe5a6fb70afc043f33b2efcec77536.tar.bz2
Revert "[lldb] Set default object format to `MachO` in `ObjectFileMachO` (#142704)"
This reverts commit d4d2f069dec4fb8b13447f52752d4ecd08d976d6. Temporarily reverting until we can find a way to get the correct ObjectFile set in Module's Triples without adding "-macho" to the triple string for each Module. This is breaking TestUniversal.py on the x86_64 macOS CI bots.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
index 0079672..3950454 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -5148,7 +5148,6 @@ void ObjectFileMachO::GetAllArchSpecs(const llvm::MachO::mach_header &header,
llvm::Triple base_triple = base_arch.GetTriple();
base_triple.setOS(llvm::Triple::UnknownOS);
base_triple.setOSName(llvm::StringRef());
- base_triple.setObjectFormat(llvm::Triple::MachO);
if (header.filetype == MH_PRELOAD) {
if (header.cputype == CPU_TYPE_ARM) {