summaryrefslogtreecommitdiff
path: root/test/Driver/config-file.c
Commit message (Collapse)AuthorAgeFilesLines
* [Driver] Don't warn about unused inputs in config filesMartin Storsjo2018-05-041-0/+1
| | | | | | | | | This avoids warnings about unused linker parameters, just like other flags are ignored if they're from config files. Differential Revision: https://reviews.llvm.org/D46286 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331504 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test to use -S instead of -c so it doesn't unnecessarily run the assembler.Douglas Yung2018-01-041-10/+10
| | | | | | | | Reviewed by Paul Robinson git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321776 91177308-0d34-0410-b5e6-96231b3b80d8
* [Driver] Fix unused variables and test-writing-into-workdir after r321621Sam McCall2018-01-021-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321639 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable configuration files in clangSerge Pavlov2018-01-011-0/+72
| | | | | | | | | | | | | | | | | | | | | | Clang is inherently a cross compiler and can generate code for any target enabled during build. It however requires to specify many parameters in the invocation, which could be hardcoded during configuration process in the case of single-target compiler. The purpose of configuration files is to make specifying clang arguments easier. A configuration file is a collection of driver options, which are inserted into command line before other options specified in the clang invocation. It groups related options together and allows specifying them in simpler, more flexible and less error prone way than just listing the options somewhere in build scripts. Configuration file may be thought as a "macro" that names an option set and is expanded when the driver is called. Use of configuration files is described in `UserManual.rst`. Differential Revision: https://reviews.llvm.org/D24933 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321621 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverted 321587: Enable configuration files in clangSerge Pavlov2017-12-301-72/+0
| | | | | | | | Need to check targets in tests more carefully. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321588 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable configuration files in clangSerge Pavlov2017-12-301-0/+72
Clang is inherently a cross compiler and can generate code for any target enabled during build. It however requires to specify many parameters in the invocation, which could be hardcoded during configuration process in the case of single-target compiler. The purpose of configuration files is to make specifying clang arguments easier. A configuration file is a collection of driver options, which are inserted into command line before other options specified in the clang invocation. It groups related options together and allows specifying them in simpler, more flexible and less error prone way than just listing the options somewhere in build scripts. Configuration file may be thought as a "macro" that names an option set and is expanded when the driver is called. Use of configuration files is described in `UserManual.rst`. Differential Revision: https://reviews.llvm.org/D24933 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321587 91177308-0d34-0410-b5e6-96231b3b80d8