summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add driver support for -emit-ast and AST compilation steps.Daniel Dunbar2009-09-011-9/+13
| | | | | | - <rdar://problem/7185031> Add 'clang' option '-emit-ast' llvm-svn: 80678
* Remove arch normalization from Driver, this should be unnecessary now thatDaniel Dunbar2009-08-241-14/+0
| | | | | | things have moved to llvm::Triple. llvm-svn: 79902
* API changes to match llvm ToT.Chris Lattner2009-08-231-4/+4
| | | | llvm-svn: 79868
* Reenable clang using clang-cc for C++ and all archs by default.Daniel Dunbar2009-08-231-1/+1
| | | | llvm-svn: 79861
* Temporarily switch clang back to not using clang-cc by default for C++, and onlyDaniel Dunbar2009-08-231-1/+14
| | | | | | using clang-cc on i386 and x86_64. llvm-svn: 79859
* Second half of, clang, AuroraUX toolchain support.Edward O'Callaghan2009-08-221-0/+2
| | | | llvm-svn: 79713
* Switch the driver back to always using clang-cc by default (for C++, andDaniel Dunbar2009-07-231-4/+3
| | | | | | | | | | | | regardless of the architecture). - This is a good default for development & testing; for example without this any tests using 'clang' in the test suite will fail on PowerPC, since the driver will avoid using clang. - We don't want to actually ship something built this way, but that should be handled via some sort of configuration file. llvm-svn: 76886
* driver: Print --version on stdout, to match gcc.Daniel Dunbar2009-07-211-7/+7
| | | | | | - Patch by Jean-Daniel Dupas llvm-svn: 76632
* Driver: Move Compilation::Execute to Driver::ExecuteCompilation.Daniel Dunbar2009-07-011-0/+48
| | | | | | | | | - The Compilation is just a helper class, it shouldn't have that amount of logic in it. - No functionality change. llvm-svn: 74634
* OpenBSD support.Daniel Dunbar2009-06-291-0/+2
| | | | | | - Patch by Jonathan Gray! llvm-svn: 74453
* Stub out printing of the thread model with -v.Daniel Dunbar2009-06-161-1/+6
| | | | | | - Turns out libstdcxx greps for this in configure. llvm-svn: 73582
* Fake support for -print-multi-*Daniel Dunbar2009-06-161-0/+41
| | | | | | | - I think we will eventually need to support this for realz, and some build processes seem to depend on these options. llvm-svn: 73581
* Fix for PR4140: Add the start of a Linux toolchain (basically, just Eli Friedman2009-05-261-0/+2
| | | | | | barely enough to get the given usage of -print-file-name working). llvm-svn: 72412
* (llvm up) Use llvm::Triple for storing target triples.Daniel Dunbar2009-05-221-40/+29
| | | | | | | - This commit has some messy stuff in it to extend string lifetimes, but that will go away once we switch to using the enum'd Triple interfaces. llvm-svn: 72243
* Reformat a commentDaniel Dunbar2009-05-181-5/+4
| | | | llvm-svn: 72046
* Add --analyze-auto.Daniel Dunbar2009-05-061-2/+3
| | | | | | | | - Currently just an alias for --analyze, eventually we want to refit --analyze so that it is less automatic (i.e., does not force plist output and does not hard code the list of checks). llvm-svn: 71056
* DragonFly ToolChain definition for driver.Daniel Dunbar2009-05-021-1/+4
| | | | | | - Patch by Alex Hornung! llvm-svn: 70635
* Revert r70424. We don't need itDouglas Gregor2009-04-291-3/+0
| | | | llvm-svn: 70432
* Add PCH version to the -v outputDouglas Gregor2009-04-291-0/+3
| | | | llvm-svn: 70424
* Enable PCH by defaultDouglas Gregor2009-04-281-1/+1
| | | | llvm-svn: 70339
* Add a header containing the Clang version; make the driver use thisDouglas Gregor2009-04-271-4/+5
| | | | | | | | | Clang version value rather than hard-coding "1.0". Add PCH and Clang version information into the PCH file. Reject PCH files with the wrong version information. llvm-svn: 70264
* Turn PCH off by default, yet again. I'm happier about it this time, thoughDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70168
* Trying turning on PCH by default yet again. We might actually a chance at ↵Douglas Gregor2009-04-261-1/+1
| | | | | | success now llvm-svn: 70164
* Turn off PCH by default, againDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70113
* One more crazy try with PCH-by-defaultDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70112
* Turn of PCH by default. I got the info I was looking forDouglas Gregor2009-04-261-1/+1
| | | | llvm-svn: 70106
* Another shot at switching PCH on by default, now that we've cleaned up some ↵Douglas Gregor2009-04-261-1/+1
| | | | | | bugs and improved performance. Will be reverted after Mr. Speedy gets done with it llvm-svn: 70099
* Revert my PCH change. I'm happy nowDouglas Gregor2009-04-251-1/+1
| | | | llvm-svn: 70018
* Temporarily try to build with PCH by default. Revert this change onceDouglas Gregor2009-04-251-1/+1
| | | | | | we see what trouble it causes. llvm-svn: 70017
* Look at the TMP environment variable as well.Daniel Dunbar2009-04-211-0/+2
| | | | llvm-svn: 69638
* Also look at the TEMP environment variable as a place to put temporaryDaniel Dunbar2009-04-201-5/+6
| | | | | | files. llvm-svn: 69622
* If defined, use TMPDIR environment variable as location for temporary files.Daniel Dunbar2009-04-201-1/+6
| | | | llvm-svn: 69609
* Preliminary PCH support in the driverDouglas Gregor2009-04-181-1/+9
| | | | llvm-svn: 69410
* Driver: Allow using clang as a precompiler, even if it is anDaniel Dunbar2009-04-161-0/+6
| | | | | | unsupported arch. llvm-svn: 69322
* Driver: Add --help-hiddenDaniel Dunbar2009-04-151-3/+38
| | | | llvm-svn: 69171
* Driver: CCC_ADD_ARGS could end up using dangling pointers.Daniel Dunbar2009-04-101-2/+0
| | | | llvm-svn: 68805
* Driver: Add 'q' flag for options which shouldn't be reported as unused.Daniel Dunbar2009-04-071-1/+5
| | | | | | | - <rdar://problem/6756295> warning about '-dynamic' argument unused during compilation seems incorrect llvm-svn: 68535
* Driver: Handle -dumpversion, this is used by some configurationDaniel Dunbar2009-04-041-0/+8
| | | | | | scripts. llvm-svn: 68418
* Driver: Automatically suppress warnings for duplicate versions ofDaniel Dunbar2009-04-041-1/+21
| | | | | | flags which were used for something. llvm-svn: 68416
* Driver: Add -Qunused-arguments option to suppress driver "unusedDaniel Dunbar2009-04-031-2/+3
| | | | | | arguments" warning. llvm-svn: 68410
* Wire --version to normal -v version text.Daniel Dunbar2009-04-021-0/+5
| | | | llvm-svn: 68316
* Driver: Allow -ccc-gcc-name to specify the name/path to use whenDaniel Dunbar2009-04-011-1/+6
| | | | | | calling gcc in generic configurations. llvm-svn: 68260
* Quick and dirty (!) fix to make sure we use powerpc in triples.Daniel Dunbar2009-04-011-3/+12
| | | | | | | | | - PR3922 - I have a clean solution for this in flight, but it may take a while to come to fruition so we'll take a quick fix for now. llvm-svn: 68241
* Driver: Implement basic --help text.Daniel Dunbar2009-03-311-0/+72
| | | | | | | | - PR3875. - <rdar://problem/6615249> [driver] ccc should support some form of --help llvm-svn: 68148
* Driver: Sketch FreeBSD tool chain.Daniel Dunbar2009-03-301-0/+3
| | | | | | - Patch by Ed Schouten! llvm-svn: 68061
* Driver: Support -M and -MM.Daniel Dunbar2009-03-301-9/+12
| | | | | | | | - Not particularly elegant, but my hand is forced by gcc. Also, tweak -ccc-print-bindings output. llvm-svn: 68027
* Driver: Make sure to claim -### before emitting "unused argument"Daniel Dunbar2009-03-291-0/+3
| | | | | | warnings. llvm-svn: 68018
* Driver: -print-libgcc-file-name was searching wrong path list.Daniel Dunbar2009-03-271-1/+1
| | | | llvm-svn: 67837
* Fix searching for gcc, we only want executable files.Mike Stump2009-03-271-3/+4
| | | | llvm-svn: 67806
* Driver: Fix a number of option definition mismatches (flags instead ofDaniel Dunbar2009-03-261-2/+2
| | | | | | | | separate, or vice versa). Also, fix initialization of LinkingOutput variable. llvm-svn: 67757
OpenPOWER on IntegriCloud