Skip to content

Commit 1c3f7aa

Browse files
committed
Remove one change from https://reviews.llvm.org/D115431
The change to ArchSpec::SetArchitecture that was setting the ObjectFile of a mach-o binary to llvm::Triple::MachO. It's not necessary for my patch, and it changes the output of image list -t causing TestUniversal.py to fail on x86_64 systems. The bots turned up the failure, I was developing and testing this on an Apple Silicon mac. (cherry picked from commit efdac16)
1 parent 9fd6270 commit 1c3f7aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lldb/source/Utility/ArchSpec.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,6 @@ bool ArchSpec::SetArchitecture(ArchitectureType arch_type, uint32_t cpu,
859859
m_triple.setArchName(llvm::StringRef(core_def->name));
860860
if (arch_type == eArchTypeMachO) {
861861
m_triple.setVendor(llvm::Triple::Apple);
862-
m_triple.setObjectFormat(llvm::Triple::MachO);
863862

864863
// Don't set the OS. It could be simulator, macosx, ios, watchos,
865864
// tvos, bridgeos. We could get close with the cpu type - but we

0 commit comments

Comments
 (0)