diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2023-08-03 20:01:13 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2023-08-03 20:01:13 +0200 |
commit | 43dfe0f08ecaf50f986512d0548bd3ac84d1813b (patch) | |
tree | 15e0ab1ebe462745b69f9db8e21b6a2d5815aca9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 673d963436666000aba89e3b5c7a85056bdba8ce (diff) | |
download | llvm-43dfe0f08ecaf50f986512d0548bd3ac84d1813b.zip llvm-43dfe0f08ecaf50f986512d0548bd3ac84d1813b.tar.gz llvm-43dfe0f08ecaf50f986512d0548bd3ac84d1813b.tar.bz2 |
[Driver] Allow for sparcv8plus subdir with Solaris/SPARC GCC
Since GCC 11, the bundled Solaris/SPARC GCC uses the `sparcv8plus`
subdirectory for 32-bit objects, just like upstream GCC. Before that, it
used `32` instead from a local patch.
Since `clang` doesn't know about that `sparcv8plus` subdirectory, it
wouldn't properly use GCC 11+ installations.
The new `solaris-sparc-gcc-search.test` testcase wasn't run initially (like
the existing `crash-report-null.test`) because the `.test` suffix wasn't
handled.
Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and
`x86_64-pc-linux-gnu`.
Differential Revision: https://reviews.llvm.org/D157013
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions