summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/Disassembler.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2014-11-07 17:48:03 +0000
committerSamuel Antao <sfantao@us.ibm.com>2014-11-07 17:48:03 +0000
commitc909c9918f15354122121b7e922b9278e9a46e6d (patch)
tree7a66578d7b11470bdd135f9c9fe355e2ad1a902e /llvm/tools/llvm-mc/Disassembler.cpp
parentc43cda84ffb8af3b5a00b76ed23503b338a51c6f (diff)
downloadbcm5719-llvm-c909c9918f15354122121b7e922b9278e9a46e6d.tar.gz
bcm5719-llvm-c909c9918f15354122121b7e922b9278e9a46e6d.zip
Fix clash of gcc toolchains in hexagon driver regression tests.
If clang was configured with a custom gcc toolchain (either by using GCC_INSTALL_PREFIX in cmake or the equivalent configure command), the path to the custom gcc toolchain path takes precedence to the one specified by -ccc-install-dir. This causes several regression tests to fail as they will be using an unexpected path. Adding the switch --gcc-toolchain="" in each test command is not enough as the hexagon toolchain implementation in the driver is not evaluating this argument. This commit modifies the hexagon toolchain to take the --gcc-toolchain="" argument into account when deciding the toolchain path, similarly to what is already done for other targets toolchains. Additionally, the faulty regression tests are modified in order to --gcc-toolchain="" be passed to the commands. llvm-svn: 221535
Diffstat (limited to 'llvm/tools/llvm-mc/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud