[clang] [Darwin][Driver][clang] arm64-apple-none-macho is missing the Apple macros from arm-apple-none-macho (PR #122427)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 13:07:29 PST 2025
================
@@ -243,6 +247,8 @@ std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple,
case llvm::Triple::thumbeb:
----------------
ian-twilightcoder wrote:
We would never hit the `else` case, `isAppleMachO()` is `(getVendor() == Triple::Apple) && isOSBinFormatMachO()`. So if `isOSBinFormatMachO()` is false, then `isAppleMachO()` will also be false.
https://github.com/llvm/llvm-project/pull/122427
More information about the cfe-commits
mailing list