summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver
Commit message (Collapse)AuthorAgeFilesLines
...
* Add an option to disable plugins in clang.Rafael Espindola2014-03-081-3/+12
| | | | | | | | | An option with the same name already exists in the makefile build. The name CLANG_IS_PRODUCTION is historical. We should probably change it, but should change the configure build at the same time. llvm-svn: 203325
* Revert "Add an option to disable plugins in clang."Rafael Espindola2014-03-081-6/+4
| | | | | | | | This reverts commit r203320. There is some order dependency going on that I missed. llvm-svn: 203321
* Add an option to disable plugins in clang.Rafael Espindola2014-03-081-4/+6
| | | | | | An option with the same name already exists in the makefile build. llvm-svn: 203320
* Replace OwningPtr with std::unique_ptr.Ahmed Charles2014-03-073-21/+21
| | | | | | This compiles cleanly with lldb/lld/clang-tools-extra/llvm. llvm-svn: 203279
* Change OwningPtr::take() to OwningPtr::release().Ahmed Charles2014-03-072-2/+2
| | | | | | This is a precursor to moving to std::unique_ptr. llvm-svn: 203275
* Switch all uses of LLVM_OVERRIDE to just use 'override' directly.Craig Topper2014-03-021-1/+1
| | | | llvm-svn: 202625
* Update for llvm api change.Rafael Espindola2014-02-241-1/+1
| | | | llvm-svn: 202053
* Remove support for the QA_OVERRIDE_GCC3_OPTIONS environment variable.Bob Wilson2014-02-231-5/+1
| | | | | | | | | | In r199283 I switched the name of this variable to CCC_OVERRIDE_OPTIONS, but I kept some code to continue recognizing the old name temporarily. As far as I know, the only use of this was for some internal testing at Apple, and we've now switched to use the new name. If anyone else is still using this and needs more time to switch names, I guess we'll find out! <rdar://problem/15821425> llvm-svn: 201962
* Update for llvm api change.Rafael Espindola2014-02-051-1/+0
| | | | llvm-svn: 200863
* [CMake] clang doesn't care whether CLANG_ENABLE_*(s) were set or not.NAKAMURA Takumi2014-01-311-21/+0
| | | | llvm-svn: 200533
* Update for llvm api change.Rafael Espindola2014-01-261-1/+1
| | | | llvm-svn: 200136
* [CMake] Deprecate CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR.NAKAMURA Takumi2014-01-191-5/+5
| | | | | | LLVM_*_OUTPUT_INTDIR should be available everywhere. It was my mistake when I introduced INTDIR stuff. llvm-svn: 199597
* Rename QA_OVERRIDE_GCC3_OPTIONS to CCC_OVERRIDE_OPTIONS. <rdar://14578381>Bob Wilson2014-01-151-4/+8
| | | | | | | Continue to accept the old name for a while to make it an easier transition for people who rely on this. llvm-svn: 199283
* Sort all the #include lines with LLVM's utils/sort_includes.py whichChandler Carruth2014-01-071-1/+1
| | | | | | | encodes the canonical rules for LLVM's style. I noticed this had drifted quite a bit when cleaning up LLVM, so wanted to clean up Clang as well. llvm-svn: 198686
* CMake separate projects: finish output-directory changes.Douglas Gregor2014-01-021-4/+4
| | | | | | | Make sure clang-tblgen, clang++, and clang-cl get created in the Clang binary build directory. llvm-svn: 198331
* CMake: Unbreak separated LLVM/Clang project builds for Xcode.Douglas Gregor2014-01-021-4/+6
| | | | | | | | | | | | | The separate Xcode project generated for Clang is putting the clang executables into the same location where the LLVM executables are going. This is wrong, and breaks the Clang build because we try to create clang++ and clang-cl symlinks in the wrong place and to the wrong place. As a stop-gap to get these builds working again, teach the symlink generation to point into the LLVM executable directory instead. llvm-svn: 198319
* Port r198088 (set NO_DEAD_STRIP for clang) from make to cmake.Nico Weber2013-12-301-0/+3
| | | | | | | | Also stop setting passing -dead_strip explicitly for libclang and instead rely on this now happening by default. (And make it happen by default for add_clang_library, which doesn't use the library cmake functions from llvm.) llvm-svn: 198200
* Set NO_DEAD_STRIP for clang after llvm r198087.Nico Weber2013-12-271-0/+3
| | | | llvm-svn: 198088
* Bury leaked pointers in a global array to silence a leak detector in ↵Kostya Serebryany2013-12-271-1/+2
| | | | | | | | | | | | | | | | --disable-free mode Summary: This is an alternative to http://llvm-reviews.chandlerc.com/D2475 suggested by Chandler. Reviewers: chandlerc, rnk, dblaikie CC: cfe-commits, earthdok Differential Revision: http://llvm-reviews.chandlerc.com/D2478 llvm-svn: 198073
* [CMake] Introduce CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR.NAKAMURA Takumi2013-12-161-3/+3
| | | | llvm-svn: 197395
* [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each ↵NAKAMURA Takumi2013-12-101-19/+15
| | | | | | CMakeLists.txt. llvm-svn: 196916
* Add ObjCARCOpts to LINK_COMPONENTS.NAKAMURA Takumi2013-12-101-1/+2
| | | | llvm-svn: 196915
* This patch modified ExeBasename as clang-cl.exe to match the preceding comment.Yaron Keren2013-11-061-1/+1
| | | | llvm-svn: 194170
* Driver: Use the canonical command line arguments.David Majnemer2013-10-071-1/+10
| | | | | | | | | | | | | | | Summary: Use the arguments given to the OS at process creation-time instead of the arguments passed into main() by the C runtime environment. The ones that main() received may not be suitable (e.g. not Unicode). Depends on D1834 CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1835 llvm-svn: 192091
* Fix up fallout from r187156.Bob Wilson2013-09-261-1/+1
| | | | | | | | | The previous change caused the driver to translate -Wa,-L to the -msave-temp-labels option for cc1as, but cc1as did not accept that option. This patch follows the same approach used for similar options (-relax-all, -noexecstack) in the previous patch. llvm-svn: 191458
* Fix the MCTargetAsmParser API change.Joey Gouly2013-09-121-1/+1
| | | | llvm-svn: 190601
* Update to the new API interface which requires the MCRegisterInfo object. ↵Bill Wendling2013-09-091-2/+3
| | | | | | <rdar://problem/13623355> llvm-svn: 190291
* clang-cl: Use "clang cl.exe" when disambiguating the diagnostic prefix.Reid Kleckner2013-09-041-2/+2
| | | | llvm-svn: 189909
* clang-cl: Avoid confusing diagnostics when clang-cl is called just cl.exeReid Kleckner2013-09-041-1/+8
| | | | llvm-svn: 189901
* cmake: install a cl.exe binary in the tools/msbuild-bin dirHans Wennborg2013-08-281-0/+9
| | | | llvm-svn: 189435
* CMake: Fix standalone Clang build, take two.Jordan Rose2013-08-271-3/+3
| | | | | | | This time, use a variable that's defined consistently in standalone and non-standalone builds. llvm-svn: 189406
* Revert "CMake: Fix out-of-source build's symlinks."Reid Kleckner2013-08-271-3/+3
| | | | | | This reverts commit r189371, it broke the in-source cmake build. llvm-svn: 189390
* CMake: Fix out-of-source build's symlinks.Jordan Rose2013-08-271-3/+3
| | | | | | Symlinks to clang should go in Clang's build directory, not LLVM's. llvm-svn: 189371
* Fix iterator invalidation. PR16935.Eli Friedman2013-08-201-3/+4
| | | | llvm-svn: 188835
* Look at lowercase version of argv[0] when determining driver modeHans Wennborg2013-08-201-0/+2
| | | | llvm-svn: 188833
* [autotools->cmake] Added support for building clang with an order file.Michael Gottesman2013-08-201-0/+5
| | | | llvm-svn: 188763
* [autotools->cmake] Added support for creating the clang driver plist for OS X.Michael Gottesman2013-08-201-0/+27
| | | | llvm-svn: 188759
* Remove misleading comment about using cc1 option table.Hans Wennborg2013-08-081-4/+4
| | | | | | There hasn't been a separate cc1 option table since r155916. llvm-svn: 187993
* Don't forward all assembler arguments untouched to -cc1asDavid Blaikie2013-07-251-4/+2
| | | | | | | | | | | | | | Use the same filtering for assembly arguments to -cc1as as we do for -cc1, this allows a consistent (& more useful) diagnostic experience for users (rather than getting an error from -cc1as (which a user shouldn't really be thinking about) about --foo, they get an error from clang about --foo in -Wa,) I'm sort of surprised by the separation of -cc1as & the separate argument handling, etc, but at least this removes a little bit of the duplication. llvm-svn: 187156
* Remove support for CCC_ADD_ARGS. QA_OVERRIDE_GCC3_OPTIONS supersedes it.Rafael Espindola2013-07-231-19/+0
| | | | llvm-svn: 186983
* Add a cl.exe compatible driver modeHans Wennborg2013-07-193-1/+18
| | | | | | | The mode doesn't actually do anything yet, but this provides a way to get into it. llvm-svn: 186720
* Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum,Hans Wennborg2013-07-181-16/+16
| | | | | | | | | | | | and add a new option --driver-mode= to control it explicitly. The CCCIsCXX and CCCIsCPP flags were non-overlapping, i.e. there are currently really three modes that Clang can run in: gcc, g++ or cpp, so it makes sense to represent them as an enum. Having a command line flag to control it helps testing. llvm-svn: 186605
* [Driver] Use LLVM's response file parser because it can read UTF-16Reid Kleckner2013-07-181-75/+16
| | | | | | | | | | | | MSBuild writes response files as UTF-16 little endian with a byte order mark. With this change, clang will be able to read them, although we still can't parse any of their flags. Adds a UTF-16-LE response file with a BOM for testing. Differential Revision: http://llvm-reviews.chandlerc.com/D1137 llvm-svn: 186603
* Update for llvm API change.Rafael Espindola2013-07-161-2/+2
| | | | llvm-svn: 186448
* Revert 186302 to fix build bots.Craig Topper2013-07-151-1/+1
| | | | llvm-svn: 186305
* Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).Craig Topper2013-07-151-1/+2
| | | | llvm-svn: 186302
* Don't use PathV1.h in cc1as_main.cpp.Rafael Espindola2013-06-261-2/+2
| | | | llvm-svn: 184938
* Remove unused header.Rafael Espindola2013-06-261-1/+0
| | | | llvm-svn: 184937
* Use llvm::sys::fs::getMainExecutable.Rafael Espindola2013-06-261-7/+6
| | | | llvm-svn: 184915
* Update to pass in pointers intead of references.Bill Wendling2013-06-181-1/+1
| | | | llvm-svn: 184176
OpenPOWER on IntegriCloud