Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux)Use llvm::Triple::getArchTypeName() when looking for compiler-rtlibraries, rather than the exact arch string from th
Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux)Use llvm::Triple::getArchTypeName() when looking for compiler-rtlibraries, rather than the exact arch string from the triple. This ismore correct as it matches the values used when building compiler-rt(builtin-config-ix.cmake) which are the subset of the values allowedin triples.For example, this fixes an issue when the compiler set fori686-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 sameapplies to any other i?86 variant allowed by LLVM.This also makes the special case for MSVC unnecessary, since now i386will be used reliably for all 32-bit x86 variants.Differential Revision: https://reviews.llvm.org/D26796llvm-svn: 311923
show more ...
Revert r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux)This causes a breakage on the Android build bot. Let's revert it untilwe figure out the correct solution there.llv
Revert r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux)This causes a breakage on the Android build bot. Let's revert it untilwe figure out the correct solution there.llvm-svn: 311861
[Driver] Use arch type to find compiler-rt libraries (on Linux)Use llvm::Triple::getArchTypeName() when looking for compiler-rtlibraries, rather than the exact arch string from the triple. This is
[Driver] Use arch type to find compiler-rt libraries (on Linux)Use llvm::Triple::getArchTypeName() when looking for compiler-rtlibraries, rather than the exact arch string from the triple. This ismore correct as it matches the values used when building compiler-rt(builtin-config-ix.cmake) which are the subset of the values allowedin triples.For example, this fixes an issue when the compiler set fori686-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 sameapplies to any other i?86 variant allowed by LLVM.This also makes the special case for MSVC unnecessary, since now i386will be used reliably for all 32-bit x86 variants.Differential Revision: https://reviews.llvm.org/D26796llvm-svn: 311836