llvm-project/clang/test/Driver/Inputs
Simon Atanasyan 60280b4e65 [Driver] Do not lose already detected set of toolchain's multilibs while
iterating over different library path suffixes and different library versions.

To find the most appropriate library for the given command line flags we
iterate over a set of disk paths. Before probe each path the already
detected set of multilibs are cleared. If the set of paths contains
existing paths which do not satisfy command line flags or do not contain
necessary libraries and object files at all we might lose found multilibs.

The patch updates variables which hold detected multilibs if we really find
a new multilib matches command line flags.

The patch reviewed by Jon Roelofs.

llvm-svn: 208523
2014-05-12 07:37:51 +00:00
..
B_opt_tree Extend -Bprefix functionality and make it closer to gcc. If the "prefix" 2012-10-31 12:01:53 +00:00
basic_android_tree Add missing test input for r206979. 2014-04-23 15:00:03 +00:00
basic_cross_linux_tree/usr Update a comment to clarify that searching the target triple bin 2013-06-20 23:37:54 +00:00
basic_freebsd64_tree
basic_freebsd_tree This reverts commit r194330, r194329 and r194328. 2013-11-09 20:07:19 +00:00
basic_linux_libcxx_tree/usr Add the test trees that were supposed to be part of r199632. 2014-01-20 09:47:21 +00:00
basic_linux_tree Beef up the testing of our 'ld' invocation on linux to cover static 2013-03-04 01:27:49 +00:00
basic_netbsd_tree/usr/lib Handle -m32 for NetBSD/sparc64 correctly. Extend test case to also check 2014-04-16 20:44:17 +00:00
debian_6_mips_tree Do not use "lib32" directory to create a library/object files 2012-09-14 11:27:24 +00:00
debian_multiarch_tree Testcase for r188400. 2013-08-14 19:45:27 +00:00
debian_reduced_mips_tree [Mips] Check all MIPS toolchains to find the one that best meets command 2014-03-04 18:37:28 +00:00
fake_install_tree
fedora_18_tree Revert "Support cross linking to arm on ubuntu." 2013-10-28 23:14:34 +00:00
fedora_21_tree/usr Add driver support for AArch64 Fedora. 2014-05-06 16:58:14 +00:00
freescale_ppc64_tree Add the freescale_ppc64_tree that should have been included in r164177. 2012-09-18 22:53:24 +00:00
freescale_ppc_tree Add C/C++ header locations for the Freescale SDK. 2012-09-18 22:25:07 +00:00
gcc_version_parsing1
gcc_version_parsing2
gcc_version_parsing3
gcc_version_parsing4
gentoo_linux_gcc_4.6.2_tree/usr Teach the Linux toolchain about more modern Gentoo installations of GCC 2013-08-26 08:59:53 +00:00
gentoo_linux_gcc_4.6.4_tree/usr Teach the Linux toolchain about more modern Gentoo installations of GCC 2013-08-26 08:59:53 +00:00
hexagon_tree Hexagon TC: Reimplement Link::ConstructJob to call 2012-12-06 15:46:07 +00:00
mips_cs_tree [Mips] Add support for nan2008 libraries and headers look up for Code 2013-11-26 11:57:48 +00:00
mips_fsf_tree [Mips] Take in account the -mfp64 command line option when build paths 2013-11-20 13:53:20 +00:00
montavista_i686_tree/usr/lib/gcc/i686-montavista-linux/4.2.0 supply a simple-minded testcase for r156813, to check whether the embedded montavista gcc toolchain is recognized 2012-05-30 09:56:26 +00:00
multiarch_freebsd64_tree
multilib_32bit_linux_tree Update a comment to clarify that searching the target triple bin 2013-06-20 23:37:54 +00:00
multilib_64bit_linux_tree Update a comment to clarify that searching the target triple bin 2013-06-20 23:37:54 +00:00
prefixed_tools_tree
resource_dir/lib Macho-embedded: fix tests after last rename 2014-01-21 13:23:09 +00:00
suse_10.3_ppc64_tree
ubuntu_11.04_multiarch_tree
ubuntu_12.04_LTS_multiarch_tree Add two more .keep files to avoid the missing of empty folders in git repository. 2012-07-31 10:52:55 +00:00
ubuntu_13.04_multiarch_tree Fix gcc search for cross-compiler on Ubuntu 13.04. 2013-07-26 00:53:40 +00:00
ubuntu_14.04_multiarch_tree [Driver] Do not lose already detected set of toolchain's multilibs while 2014-05-12 07:37:51 +00:00
x86-64_ubuntu_13.10 Teach the driver to not try to use 'lib32' multilib spellings on ARM 2013-10-29 10:27:30 +00:00
file.ll clang-cl: /fallback only applies to C or C++ files 2014-04-25 16:44:17 +00:00
file.prof Add -fprofile-sample-use to Clang's driver. 2013-11-13 12:22:39 +00:00