royitaqi wrote:

> the correct fix for #142704

How about:
1. In `Triple`'s `getDefaultFormat`, first check if vendor is 
`llvm::Triple::Apple` and return `MachO` if so. The vendor is set to `Apple` by 
`ObjectFileMachO::GetAllArchSpecs` calling `base_arch.SetArchitecture`, which 
calls `m_triple.setVendor(llvm::Triple::Apple)`.

https://github.com/llvm/llvm-project/pull/139170
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to