summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/prefixed-tools.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests with CLANG_DEFAULT_LINKERJonas Hahnfeld2017-01-081-2/+2
| | | | | | | | | I originally requested this to be tested in D25263 but in the end forgot to make sure that it was done. Differential Revision: https://reviews.llvm.org/D28289 llvm-svn: 291389
* Fix Driver tests that I broke on Windows in r214924Reid Kleckner2014-08-051-4/+4
| | | | llvm-svn: 214931
* Revert part of r148839 and keep DefaultTargetTriple in the form adjustedJoerg Sonnenberger2012-02-221-0/+12
| | | | | | | | | | by -target and similar options. As discussed in PR 12026, the change broke support for target-prefixed tools, i.e. calling x86_64--linux-ld when compiling for x86_64--linux. Improve the test cases added originally in r149083 to not require execution, just executable files. Document the hack with appropiate FIXME comments. llvm-svn: 151185
* Revert r149083 which is not the direction we're going in the ClangChandler Carruth2012-01-311-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | driver based on discussions with Doug Gregor. There are several issues: 1) The patch was not reviewed prior to commit and there were review comments. 2) The design of the functionality (triple-prefixed tool invocation) isn't the design we want for Clang going forward: it focuses on the "user triple" rather than on the "toolchain triple", and forces that bit of state into the API of every single toolchain instead of handling it automatically in the common base classes. 3) The tests provided are not stable. They fail on a few Linux variants (Gentoo among them) and on mingw32 and some other environments. I *am* interested in the Clang driver being able to invoke triple-prefixed tools, but we need to design that feature the right way. This patch just extends the previous hack without fixing the underlying problems with it. I'm working on a new design for this that I will mail for review by tomorrow. I am aware that this removes functionality that NetBSD relies on, but this is ToT, not a release. This functionality hasn't been properly designed, implemented, and tested yet. We can't "regress" until we get something that really works, both with the immediate use cases and with long term maintenance of the Clang driver. For reference, the original commit log: Keep track of the original target the user specified before normalization. This used to be captured in DefaultTargetTriple and is used for the (optional) $triple-$tool lookup for cross-compilation. Do this properly by making it an attribute of the toolchain and use it in combination with the computed triple as index for the toolchain lookup. llvm-svn: 149337
* test/Driver/prefixed-tools.c: Disable this on win32 hosts, msvc and mingw.NAKAMURA Takumi2012-01-271-0/+4
| | | | | | | It had failed on Win32 due to inability of executing shell scripts. Still it fails even with mingw MSYS bash. llvm-svn: 149100
* test/Driver/prefixed-tools.c: Fix newline at end-of-file.NAKAMURA Takumi2012-01-271-1/+1
| | | | llvm-svn: 149099
* Keep track of the original target the user specified beforeJoerg Sonnenberger2012-01-261-0/+14
normalization. This used to be captured in DefaultTargetTriple and is used for the (optional) $triple-$tool lookup for cross-compilation. Do this properly by making it an attribute of the toolchain and use it in combination with the computed triple as index for the toolchain lookup. llvm-svn: 149083
OpenPOWER on IntegriCloud