]> granicus.if.org Git - clang/commit
[Mips] Check all MIPS toolchains to find the one that best meets command
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 4 Mar 2014 18:37:28 +0000 (18:37 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 4 Mar 2014 18:37:28 +0000 (18:37 +0000)
commita7beeda8f88e18a099e26908738b33f2162004d8
treeb4c69fd3f4c7dce889abce79eafe18cd1e2e332a
parentddd9310babd350f208166ed1f01f2bfab8a81e60
[Mips] Check all MIPS toolchains to find the one that best meets command
line arguments and directories tree. The old toolchain selection heuristics
worked incorrectly when user has a reduced MIPS toolchain supports
the O32 ABI only.

Patch reviewed by Jonathan Roelofs, David Majnemer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202873 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
lib/Driver/ToolChains.cpp
test/Driver/Inputs/debian_reduced_mips_tree/lib/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/lib/mips-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/lib/mipsel-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/backward/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/mips-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/mipsel-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/mips-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/include/mipsel-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/gcc/mips-linux-gnu/4.7/crtbegin.o [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/gcc/mipsel-linux-gnu/4.7/crtbegin.o [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/mips-linux-gnu/.keep [new file with mode: 0644]
test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/mipsel-linux-gnu/.keep [new file with mode: 0644]
test/Driver/mips-reduced-toolchain.cpp [new file with mode: 0644]