summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver
Commit message (Collapse)AuthorAgeFilesLines
...
* Let CompilerInvocation initialization indicate failureDylan Noblesmith2011-12-232-14/+31
| | | | | | | | | This fixes the FIXMEs in ParseAnalyzeArgs. (Also a precursor to moving the analyzer into an AST plugin.) For consistency, do the same with AssemblerInvocation. llvm-svn: 147218
* remove unneeded config.h includesDylan Noblesmith2011-12-221-1/+0
| | | | llvm-svn: 147195
* Last part of support for generating dwarf for assembly source files. This getsKevin Enderby2011-12-221-0/+8
| | | | | | the clang driver to enable this when assembling a .s file. rdar://9275556 llvm-svn: 147167
* Create the clang++ symlink as a POST_BUILD custom command on clang.Peter Collingbourne2011-11-211-5/+3
| | | | | | | This saves us from re-creating the symlink on every build even if we didn't rebuild clang. llvm-svn: 145017
* rename getHostTriple into getDefaultTargetTriple in clangSebastian Pop2011-11-012-3/+3
| | | | llvm-svn: 143503
* Add LinkAllPasses to clangTobias Grosser2011-11-011-0/+1
| | | | | | | | This patch ensures that no passes are deleted from clang, such that the loading of plugins does not fail because of passes being unavailable. This increases the size of the clang binary from 43029853 to 43915291 bytes (around 2%). llvm-svn: 143414
* Add support for lazily linking bitcode files (using a newPeter Collingbourne2011-10-302-2/+3
| | | | | | | -mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. llvm-svn: 143314
* Wire up support for the controlling the extended dwarf .file directive. WithNick Lewycky2011-10-171-1/+3
| | | | | | | r142300 but not this patch, clang -S may emit .s files that assemblers other than llvm-mc can't parse. llvm-svn: 142301
* Rip out flags for controlling C++ "production mode" separately.Bob Wilson2011-10-042-17/+1
| | | | | | | This is old leftover cruft from the days when C++ was not yet ready for prime time. llvm-svn: 141063
* Rename Diagnostic to DiagnosticsEngine as per issue 5397David Blaikie2011-09-253-11/+12
| | | | llvm-svn: 140478
* Fix up MCInstPrinter creation to take the new SubtargetInfo parameter (see ↵James Molloy2011-09-071-1/+1
| | | | | | LLVM r139237) llvm-svn: 139238
* Match LLVM change: TargetRegistry and TargetSelect have been moved to Support.Evan Cheng2011-08-243-7/+7
| | | | llvm-svn: 138451
* Update createMCAsmParser() to match r137735.Jim Grosbach2011-08-161-1/+1
| | | | llvm-svn: 137736
* When the compiler crashes, the compiler driver now produces diagnostic Chad Rosier2011-08-021-2/+8
| | | | | | | | | information including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. rdar://9575623 llvm-svn: 136702
* Assembler really doesn't need to create TargetMachine anymore.Evan Cheng2011-07-261-24/+6
| | | | llvm-svn: 136045
* Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to ↵Evan Cheng2011-07-261-6/+6
| | | | | | createMCObjectStreamer. llvm-svn: 136032
* Rename createAsmParser to createMCAsmParser.Evan Cheng2011-07-261-3/+4
| | | | llvm-svn: 136029
* Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to ↵Evan Cheng2011-07-251-7/+6
| | | | | | createMCAsmBackend. llvm-svn: 136011
* Assembler doesn't need to initialize TargetMachine's anymore.Evan Cheng2011-07-251-2/+0
| | | | llvm-svn: 135964
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-232-25/+25
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where ↵Evan Cheng2011-07-231-2/+2
| | | | | | they belong. llvm-svn: 135834
* Match LLVM API change.Evan Cheng2011-07-222-8/+2
| | | | llvm-svn: 135813
* Temporarily revert r135614 while I fix the cmake build.Chad Rosier2011-07-201-8/+2
| | | | llvm-svn: 135621
* When the compiler crashes, the compiler driver now produces diagnostic ↵Chad Rosier2011-07-201-2/+8
| | | | | | | | | information including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. llvm-svn: 135614
* Match MCContext change.Evan Cheng2011-07-201-4/+3
| | | | llvm-svn: 135612
* Match LLVM API change.Evan Cheng2011-07-201-1/+7
| | | | llvm-svn: 135570
* Match createTargetMachine API change.Evan Cheng2011-07-192-0/+2
| | | | llvm-svn: 135469
* MCContext now takes MCRegisterInfo.Evan Cheng2011-07-181-1/+6
| | | | llvm-svn: 135425
* Match llvm API change.Evan Cheng2011-07-142-1/+3
| | | | llvm-svn: 135220
* Match createCodeEmitter change.Evan Cheng2011-07-111-7/+11
| | | | llvm-svn: 134885
* Unbreak -cc1as mode after MC subtarget changesJoerg Sonnenberger2011-07-101-0/+1
| | | | llvm-svn: 134877
* cc1 must initialize MC subtarget infos for inline asm parsing. Re-enable ↵Evan Cheng2011-07-091-0/+1
| | | | | | asm-errors.c llvm-svn: 134811
* createAsmParser API change.Evan Cheng2011-07-091-3/+6
| | | | llvm-svn: 134797
* Update the creation of the TargetAsmParser based on API change in r134678.Chandler Carruth2011-07-081-1/+3
| | | | llvm-svn: 134680
* Slightly improve the code to derive target from program name to notJoerg Sonnenberger2011-07-071-3/+5
| | | | | | fault if no arguments are given. llvm-svn: 134618
* createMCInstPrinter doesn't need TargetMachine anymore.Evan Cheng2011-07-061-1/+1
| | | | llvm-svn: 134526
* createTargetMachine now takes a CPU string.Evan Cheng2011-06-301-1/+2
| | | | llvm-svn: 134128
* Revert unintentional commit.Eli Friedman2011-06-281-0/+8
| | | | llvm-svn: 133971
* Merge some calls to FoldingSetNodeID::AddInteger; assuming my measurements ↵Eli Friedman2011-06-271-8/+0
| | | | | | aren't completely off, roughly a 1% speedup on SingleSource/UnitTests/ObjC/trivial-interface.m . llvm-svn: 133968
* The ARC Migration Tool. All the credit goes to Argyrios and FariborzJohn McCall2011-06-152-1/+2
| | | | | | for this. llvm-svn: 133104
* Support -fatal-warnings for the assembler frontendJoerg Sonnenberger2011-05-191-0/+2
| | | | llvm-svn: 131662
* Update API.Rafael Espindola2011-04-301-1/+2
| | | | llvm-svn: 130588
* Wire up the -ftest-coverage and -fprofile-arcs flags to .gcno file emission (atNick Lewycky2011-04-212-1/+2
| | | | | | | | | compile time) and .gcda emission (at runtime). --coverage enables both. This does not yet add the profile_rt library to the link step if -fprofile-arcs is enabled when linking. llvm-svn: 129956
* Driver: Sketch driver support for a CC_LOG_DIAGNOSTICS options, similar to theDaniel Dunbar2011-04-071-0/+5
| | | | | | | existing CC_PRINT_OPTIONS and CC_PRINT_HEADERS, which can be used to transparently capture the compiler diagnostics from a build. llvm-svn: 129082
* Frontend/cc1as: Add support for -L.Daniel Dunbar2011-03-281-0/+4
| | | | llvm-svn: 128432
* switch a few Driver APIs to use llvm::ArrayRef, cleaning up code.Chris Lattner2011-03-231-2/+2
| | | | llvm-svn: 128142
* Pass in the TargetMachine parameter to the inst printer.Bill Wendling2011-03-211-1/+1
| | | | llvm-svn: 127987
* Refactor program name logic. Extend it to infer the target triple fromJoerg Sonnenberger2011-03-161-18/+83
| | | | | | | | the program name, if it includes it as proper prefix. This makes calling clang with -ccc-host-triple x86_64-linux the same as calling it with the name x86_64-linux-clang. llvm-svn: 127753
* If called as *cpp or *cpp-[^-]*, run only the preprocessor. If noJoerg Sonnenberger2011-03-061-0/+5
| | | | | | | input is specified, use stdin implicitly. Based on a patch from Roman Divacky. llvm-svn: 127137
* Fix an obvious typo.Benjamin Kramer2011-02-271-1/+1
| | | | | | GCC -Waddress warns about this but clang doesn't (PR9043). llvm-svn: 126577
OpenPOWER on IntegriCloud