summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/nodefaultlib.c
Commit message (Collapse)AuthorAgeFilesLines
* [Driver][Gnu] Support -nolibc flagPetr Hosek2019-02-171-1/+1
| | | | | | | | | This can be used to disable libc linking. This flag is supported by GCC since version 9 as well as some Clang target toolchains. Differential Revision: https://reviews.llvm.org/D58326 llvm-svn: 354210
* Fix rewrite of reserved library name in case of -nodefaultlibsNirav Dave2015-11-241-8/+10
| | | | | | | | | | | | The Driver only checked if nostdlib was set when deciding to add reserved_lib_stdcxx, but as nostdlib is always exactly nodefaultlibs and nostartfiles we should be checking one (clearly nodefaultlibs in the case) as well. This appears to be the only such instance of this in the codebase. Differential Revision: http://reviews.llvm.org/D14935 llvm-svn: 253990
* Insulate this test from the whims of the random number generator.Matt Beaumont-Gay2012-12-211-2/+2
| | | | | | | Our internal buildbot just failed because the tempfile happened to be named 'nodefaultlib-lcGA7k.o', which contains the substring '-lc'. llvm-svn: 170941
* Teach the driver on Linux to respect -nodefaultlibs.Chandler Carruth2012-05-141-0/+8
Patch from Andrew C. Morrow. llvm-svn: 156771
OpenPOWER on IntegriCloud