diff options
author | Fangrui Song <i@maskray.me> | 2022-09-02 09:51:02 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-09-02 09:51:02 -0700 |
commit | e05edb19adbfd1b24f58d583e4b5b4d742f982ee (patch) | |
tree | efc4448810c7214af4716002c3f373cc07de89e2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5856576202ab5cbc66817b58aca37c5eb924365b (diff) | |
download | llvm-e05edb19adbfd1b24f58d583e4b5b4d742f982ee.zip llvm-e05edb19adbfd1b24f58d583e4b5b4d742f982ee.tar.gz llvm-e05edb19adbfd1b24f58d583e4b5b4d742f982ee.tar.bz2 |
[Driver] Unsupport --print-multiarch
* If GCC is configured with `--disable-multi-arch`, `--print-multiarch` output is an empty line.
* If GCC is configured with `--enable-multi-arch`, `--print-multiarch` output may be a normalized triple or (on Debian, 'vendor' is omitted) `x86_64-linux-gnu`.
The Clang support D101400 just prints the Debian multiarch style triple
unconditionally, but the string is not really expected for non-Debian systems.
AIUI many Linux distributions and non-Linux OSes don't configure GCC with `--enable-multi-arch`.
Instead of getting us in the trouble of supporting all kinds of variants, drop the support as before D101400.
Close https://github.com/llvm/llvm-project/issues/51469
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D133170
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions