summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/iwithprefix.c
Commit message (Collapse)AuthorAgeFilesLines
* [multilib] Teach Clang's code about multilib by threadingChandler Carruth2014-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a CLANG_LIBDIR_SUFFIX down from the build system and using that as part of the default resource dir computation. Without this, essentially nothing that uses the clang driver works when building clang with a libdir suffix. This is probably the single biggest missing piece of support for multilib as without this people could hack clang to end up installed in the correct location, but it would then fail to find its own basic resources. I know of at least one distro that has some variation on this patch to hack around this; hopefully they'll be able to use the libdir suffix functionality directly as the rest of these bits land. This required fixing a copy of the code to compute Clang's resource directory that is buried inside of the frontend (!!!). It had bitrotted significantly relative to the driver code. I've made it essentially a clone of the driver code in order to keep tests (which use cc1 heavily) passing. This copy should probably just be removed and the frontend taught to always rely on an explicit resource directory from the driver, but that is a much more invasive change for another day. I've also updated one test which actually encoded the resource directory in its checked output to tolerate multilib suffixes. Note that this relies on a prior LLVM commit to add a stub to the autoconf build system for this variable. llvm-svn: 224924
* Make test run reliablyAlp Toker2013-11-051-3/+2
| | | | | | | | llc waits for input on stdin, which was not provided in this test. It was running only thanks to a quirk in the way lit concatenates commands. llvm-svn: 194071
* Accept both / and \\ to fix the windows bots.Rafael Espindola2013-06-241-1/+1
| | | | llvm-svn: 184790
* clang/test/Preprocessor/iwithprefix.c: Tweak default includes not to use ↵NAKAMURA Takumi2013-01-251-1/+1
| | | | | | | | | | /usr/include. You may see such a message on non-posix system; ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/include" llvm-svn: 173525
* [tests] Force a triple to ensure /usr/include is one of the entries.Daniel Dunbar2013-01-251-1/+2
| | | | llvm-svn: 173469
* [tests] Add a test for -iwithprefix.Daniel Dunbar2013-01-251-0/+16
- This just scratches the surface, We have pretty horrible test coverage in this area it seems like, but this at least covers the change in r173410. llvm-svn: 173464
OpenPOWER on IntegriCloud