[all-commits] [llvm/llvm-project] 89c94c: [clang][Driver] Get darwin -Xarch_ working for sub...
Ahmed Bougacha via All-commits
all-commits at lists.llvm.org
Wed Mar 9 18:23:23 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89c94c242c7ddcc700aba6af7243dcac7a9a4ef2
https://github.com/llvm/llvm-project/commit/89c94c242c7ddcc700aba6af7243dcac7a9a4ef2
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2022-03-09 (Wed, 09 Mar 2022)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/darwin-xarch.c
Log Message:
-----------
[clang][Driver] Get darwin -Xarch_ working for subtypes, again.
35ca7d9ddf4 broke 471c4f829934 for -arch flags that don't map 1:1
to the triple arch. This has been broken for the many years since.
It hasn't mattered much since then, mostly because few people use it,
but also because it works for x86_64/i386, armv7/armv7s
don't differ much, arm64 is its own arch, and arm64/arm64_32 have
different arches (and it's a rare combination anyway).
But arm64/arm64e exposes this issue again.
Patch by: Justin Bogner <mail at justinbogner.com>
with some added tests.
More information about the All-commits
mailing list