mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-15 15:33:56 +00:00
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.
This commit is contained in:
parent
e6e7da5515
commit
efdac16b38
@ -859,7 +859,6 @@ bool ArchSpec::SetArchitecture(ArchitectureType arch_type, uint32_t cpu,
|
||||
m_triple.setArchName(llvm::StringRef(core_def->name));
|
||||
if (arch_type == eArchTypeMachO) {
|
||||
m_triple.setVendor(llvm::Triple::Apple);
|
||||
m_triple.setObjectFormat(llvm::Triple::MachO);
|
||||
|
||||
// Don't set the OS. It could be simulator, macosx, ios, watchos,
|
||||
// tvos, bridgeos. We could get close with the cpu type - but we
|
||||
|
Loading…
x
Reference in New Issue
Block a user