Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update for llvm API change. | Rafael Espindola | 2013-07-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 186448 | |||||
* | Don't use PathV1.h in cc1as_main.cpp. | Rafael Espindola | 2013-06-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 184938 | |||||
* | Update to pass in pointers intead of references. | Bill Wendling | 2013-06-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 184176 | |||||
* | [Driver] Refactor clang driver to use LLVM's Option library | Reid Kleckner | 2013-06-14 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | | | The big changes are: - Deleting Driver/(Arg|Opt)* - Rewriting includes to llvm/Option/ and re-sorting - 'using namespace llvm::opt' in clang::driver - Fixing the autoconf build by adding option everywhere As discussed in the review, this change includes using directives in header files. I'll make follow up changes to remove those in favor of name specifiers. Reviewers: espindola Differential Revision: http://llvm-reviews.chandlerc.com/D975 llvm-svn: 183989 | |||||
* | Don't depend on the transitive inclusion of PathV1.h. | Rafael Espindola | 2013-06-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 183945 | |||||
* | Use the sys::RemoveFileOnSignal that takes a StringRef. | Rafael Espindola | 2013-06-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 183944 | |||||
* | Update for LLVM interface change in r181680. | Rafael Espindola | 2013-05-13 | 1 | -3/+3 | |
| | | | | llvm-svn: 181681 | |||||
* | Update the error handing static functions for r178161. | Chad Rosier | 2013-03-27 | 1 | -1/+2 | |
| | | | | | | Part of rdar://13296693 llvm-svn: 178162 | |||||
* | We want the dwarf AT_producer for assembly source files to match clang's | Kevin Enderby | 2013-01-17 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | AT_producer. Which includes clang's version information so we can tell which version of the compiler was used. This is second of the two steps to allow us to do this. The first was a change to llvm-mc with revision 172630 to provide a method to set the AT_producer string. This second step has the clang driver passing the value of getClangFullVersion() via the new flag -dwarf-debug-producer when invoking the integrated assembler on assembly source files. Then using the new setDwarfDebugProducer() method to set the AT_producer string. rdar://12888242 llvm-svn: 172758 | |||||
* | Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to | Chandler Carruth | 2013-01-02 | 1 | -1/+1 | |
| | | | | | | | | reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. llvm-svn: 171369 | |||||
* | Add support for passing the main file name down to the assembler | Eric Christopher | 2012-12-18 | 1 | -0/+4 | |
| | | | | | | | | for location information. Part of PR14624 llvm-svn: 170391 | |||||
* | Fix PR14625 by teaching the driver to detect PWD for assembly files. | Chandler Carruth | 2012-12-17 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | This also requires adding support to -cc1as for passing the detecting PWD down through LLVM's debug info (which in turn required the LLVM change in r170371). The test case is weak (we only test the driver behavior) because there is currently to infrastructure for running cc1as in the test suite. So those four lines are untested (much like all other lines in that file), but we have a test for the same pattern using llvm-mc in the LLVM repository. llvm-svn: 170373 | |||||
* | Sort #include lines for tools/... | Chandler Carruth | 2012-12-04 | 1 | -9/+9 | |
| | | | | | | Completely automated with sort_includes.py llvm-svn: 169240 | |||||
* | Remove first argument from Arg::getValue; it's been unused since r105760. | Richard Smith | 2012-11-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 167211 | |||||
* | Make DiagnosticOptions intrusively reference-counted, and make sure | Douglas Gregor | 2012-10-23 | 1 | -3/+4 | |
| | | | | | | | the various stakeholders bump up the reference count. In particular, the diagnostics engine now keeps the DiagnosticOptions object alive. llvm-svn: 166508 | |||||
* | Move TargetData to DataLayout. | Micah Villmow | 2012-10-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 165395 | |||||
* | Follow up on llvm r164132. | Roman Divacky | 2012-09-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 164133 | |||||
* | Allow MCCodeEmitter access to the target MCRegisterInfo. | Jim Grosbach | 2012-05-15 | 1 | -2/+2 | |
| | | | | | | Add MRI to the createMCCodeEmitter() call. llvm-svn: 156830 | |||||
* | Fix build by passing in the needed variable after r153860. | Bill Wendling | 2012-04-02 | 1 | -1/+2 | |
| | | | | llvm-svn: 153861 | |||||
* | Add MCRegisterInfo to the MCInstPrinter factory function interface. | Jim Grosbach | 2012-03-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 152046 | |||||
* | Basic: import IntrusiveRefCntPtr<> into clang namespace | Dylan Noblesmith | 2012-02-20 | 1 | -1/+1 | |
| | | | | | | | The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. llvm-svn: 150958 | |||||
* | drop more llvm:: prefixes on OwningPtr<> | Dylan Noblesmith | 2012-02-13 | 1 | -1/+1 | |
| | | | | | | More cleanup after r149798. llvm-svn: 150379 | |||||
* | Have the driver pass CPU and target feature information to cc1as. | Jim Grosbach | 2012-02-10 | 1 | -4/+25 | |
| | | | | | | | | | | When creating the MCSubtargetInfo, the assembler driver uses the CPU and feature string to construct a more accurate model of what instructions are and are not legal. rdar://10840476 llvm-svn: 150273 | |||||
* | Make use of const-correct ParseCommandLineOptions | David Blaikie | 2012-02-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 150000 | |||||
* | Pass the SourceMgr to the MCContext for cc1as. | Jim Grosbach | 2012-02-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 149608 | |||||
* | driver: fix unused variable warning | Dylan Noblesmith | 2011-12-26 | 1 | -1/+1 | |
| | | | | | | from r147218. llvm-svn: 147278 | |||||
* | Let CompilerInvocation initialization indicate failure | Dylan Noblesmith | 2011-12-23 | 1 | -8/+20 | |
| | | | | | | | | | 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 | |||||
* | 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 | |||||
* | rename getHostTriple into getDefaultTargetTriple in clang | Sebastian Pop | 2011-11-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 143503 | |||||
* | 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 | |||||
* | Rename Diagnostic to DiagnosticsEngine as per issue 5397 | David Blaikie | 2011-09-25 | 1 | -6/+7 | |
| | | | | 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 | 1 | -4/+4 | |
| | | | | llvm-svn: 138451 | |||||
* | Update createMCAsmParser() to match r137735. | Jim Grosbach | 2011-08-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 137736 | |||||
* | 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 | |||||
* | 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 | 1 | -5/+1 | |
| | | | | llvm-svn: 135813 | |||||
* | 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 | 1 | -0/+1 | |
| | | | | 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 | 1 | -1/+2 | |
| | | | | 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 | |||||
* | 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 |