Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Let CompilerInvocation initialization indicate failure | Dylan Noblesmith | 2011-12-23 | 2 | -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 includes | Dylan Noblesmith | 2011-12-22 | 1 | -1/+0 | |
| | | | | llvm-svn: 147195 | |||||
* | Last part of support for generating dwarf for assembly source files. This gets | Kevin Enderby | 2011-12-22 | 1 | -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 Collingbourne | 2011-11-21 | 1 | -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 clang | Sebastian Pop | 2011-11-01 | 2 | -3/+3 | |
| | | | | llvm-svn: 143503 | |||||
* | Add LinkAllPasses to clang | Tobias Grosser | 2011-11-01 | 1 | -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 new | Peter Collingbourne | 2011-10-30 | 2 | -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. With | Nick Lewycky | 2011-10-17 | 1 | -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 Wilson | 2011-10-04 | 2 | -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 5397 | David Blaikie | 2011-09-25 | 3 | -11/+12 | |
| | | | | llvm-svn: 140478 | |||||
* | Fix up MCInstPrinter creation to take the new SubtargetInfo parameter (see ↵ | James Molloy | 2011-09-07 | 1 | -1/+1 | |
| | | | | | | LLVM r139237) llvm-svn: 139238 | |||||
* | Match LLVM change: TargetRegistry and TargetSelect have been moved to Support. | Evan Cheng | 2011-08-24 | 3 | -7/+7 | |
| | | | | llvm-svn: 138451 | |||||
* | Update createMCAsmParser() to match r137735. | Jim Grosbach | 2011-08-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 137736 | |||||
* | When the compiler crashes, the compiler driver now produces diagnostic | Chad Rosier | 2011-08-02 | 1 | -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 Cheng | 2011-07-26 | 1 | -24/+6 | |
| | | | | llvm-svn: 136045 | |||||
* | Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to ↵ | Evan Cheng | 2011-07-26 | 1 | -6/+6 | |
| | | | | | | createMCObjectStreamer. llvm-svn: 136032 | |||||
* | Rename createAsmParser to createMCAsmParser. | Evan Cheng | 2011-07-26 | 1 | -3/+4 | |
| | | | | llvm-svn: 136029 | |||||
* | Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to ↵ | Evan Cheng | 2011-07-25 | 1 | -7/+6 | |
| | | | | | | createMCAsmBackend. llvm-svn: 136011 | |||||
* | Assembler doesn't need to initialize TargetMachine's anymore. | Evan Cheng | 2011-07-25 | 1 | -2/+0 | |
| | | | | llvm-svn: 135964 | |||||
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 2 | -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 Cheng | 2011-07-23 | 1 | -2/+2 | |
| | | | | | | they belong. llvm-svn: 135834 | |||||
* | Match LLVM API change. | Evan Cheng | 2011-07-22 | 2 | -8/+2 | |
| | | | | llvm-svn: 135813 | |||||
* | Temporarily revert r135614 while I fix the cmake build. | Chad Rosier | 2011-07-20 | 1 | -8/+2 | |
| | | | | llvm-svn: 135621 | |||||
* | When the compiler crashes, the compiler driver now produces diagnostic ↵ | Chad Rosier | 2011-07-20 | 1 | -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 Cheng | 2011-07-20 | 1 | -4/+3 | |
| | | | | llvm-svn: 135612 | |||||
* | Match LLVM API change. | Evan Cheng | 2011-07-20 | 1 | -1/+7 | |
| | | | | llvm-svn: 135570 | |||||
* | Match createTargetMachine API change. | Evan Cheng | 2011-07-19 | 2 | -0/+2 | |
| | | | | llvm-svn: 135469 | |||||
* | MCContext now takes MCRegisterInfo. | Evan Cheng | 2011-07-18 | 1 | -1/+6 | |
| | | | | llvm-svn: 135425 | |||||
* | Match llvm API change. | Evan Cheng | 2011-07-14 | 2 | -1/+3 | |
| | | | | llvm-svn: 135220 | |||||
* | Match createCodeEmitter change. | Evan Cheng | 2011-07-11 | 1 | -7/+11 | |
| | | | | llvm-svn: 134885 | |||||
* | Unbreak -cc1as mode after MC subtarget changes | Joerg Sonnenberger | 2011-07-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 134877 | |||||
* | cc1 must initialize MC subtarget infos for inline asm parsing. Re-enable ↵ | Evan Cheng | 2011-07-09 | 1 | -0/+1 | |
| | | | | | | asm-errors.c llvm-svn: 134811 | |||||
* | createAsmParser API change. | Evan Cheng | 2011-07-09 | 1 | -3/+6 | |
| | | | | llvm-svn: 134797 | |||||
* | Update the creation of the TargetAsmParser based on API change in r134678. | Chandler Carruth | 2011-07-08 | 1 | -1/+3 | |
| | | | | llvm-svn: 134680 | |||||
* | Slightly improve the code to derive target from program name to not | Joerg Sonnenberger | 2011-07-07 | 1 | -3/+5 | |
| | | | | | | fault if no arguments are given. llvm-svn: 134618 | |||||
* | createMCInstPrinter doesn't need TargetMachine anymore. | Evan Cheng | 2011-07-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 134526 | |||||
* | createTargetMachine now takes a CPU string. | Evan Cheng | 2011-06-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 134128 | |||||
* | Revert unintentional commit. | Eli Friedman | 2011-06-28 | 1 | -0/+8 | |
| | | | | llvm-svn: 133971 | |||||
* | Merge some calls to FoldingSetNodeID::AddInteger; assuming my measurements ↵ | Eli Friedman | 2011-06-27 | 1 | -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 Fariborz | John McCall | 2011-06-15 | 2 | -1/+2 | |
| | | | | | | for this. llvm-svn: 133104 | |||||
* | Support -fatal-warnings for the assembler frontend | Joerg Sonnenberger | 2011-05-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 131662 | |||||
* | Update API. | Rafael Espindola | 2011-04-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 130588 | |||||
* | Wire up the -ftest-coverage and -fprofile-arcs flags to .gcno file emission (at | Nick Lewycky | 2011-04-21 | 2 | -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 the | Daniel Dunbar | 2011-04-07 | 1 | -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 Dunbar | 2011-03-28 | 1 | -0/+4 | |
| | | | | llvm-svn: 128432 | |||||
* | switch a few Driver APIs to use llvm::ArrayRef, cleaning up code. | Chris Lattner | 2011-03-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 128142 | |||||
* | Pass in the TargetMachine parameter to the inst printer. | Bill Wendling | 2011-03-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 127987 | |||||
* | Refactor program name logic. Extend it to infer the target triple from | Joerg Sonnenberger | 2011-03-16 | 1 | -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 no | Joerg Sonnenberger | 2011-03-06 | 1 | -0/+5 | |
| | | | | | | | input is specified, use stdin implicitly. Based on a patch from Roman Divacky. llvm-svn: 127137 | |||||
* | Fix an obvious typo. | Benjamin Kramer | 2011-02-27 | 1 | -1/+1 | |
| | | | | | | GCC -Waddress warns about this but clang doesn't (PR9043). llvm-svn: 126577 |