[all-commits] [llvm/llvm-project] 8a6867: [Driver, AArch64] Ensure -arch logic is Darwin-spec...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Dec 5 18:10:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a686716e360157ad5726560cc5ea61be647893c
https://github.com/llvm/llvm-project/commit/8a686716e360157ad5726560cc5ea61be647893c
Author: Fangrui Song <i at maskray.me>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/test/Driver/arm-arch-darwin.c
Log Message:
-----------
[Driver,AArch64] Ensure -arch logic is Darwin-specific
`-arch` is a Darwin-specific option that is ignored for other targets
and not known by GCC. It leads to an error for non-Darwin OSes for
non-AArch64 architectures. Ensure that it leads to an error for AArch64
non-Darwin OSes as well.
More information about the All-commits
mailing list