clang/test/Driver/Inputs/basic_linux_tree/usr
Michal Gorny 9b4f354553 Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux)
Use llvm::Triple::getArchTypeName() when looking for compiler-rt
libraries, rather than the exact arch string from the triple. This is
more correct as it matches the values used when building compiler-rt
(builtin-config-ix.cmake) which are the subset of the values allowed
in triples.

For example, this fixes an issue when the compiler set for
i686-pc-linux-gnu triple would not find an i386 compiler-rt library,
while this is the exact arch that is detected by compiler-rt. The same
applies to any other i?86 variant allowed by LLVM.

This also makes the special case for MSVC unnecessary, since now i386
will be used reliably for all 32-bit x86 variants.

Differential Revision: https://reviews.llvm.org/D26796

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311923 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-28 20:29:52 +00:00
..
i386-unknown-linux/lib Test that we include a GCC-triple-prefixed tree. While I don't know of 2011-10-03 08:09:02 +00:00
i686-unknown-linux/lib Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux) 2017-08-28 20:29:52 +00:00
lib Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux) 2017-08-28 20:29:52 +00:00
x86_64-unknown-linux/lib Test that we include a GCC-triple-prefixed tree. While I don't know of 2011-10-03 08:09:02 +00:00