summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver/cc1as_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Update for llvm API change.Rafael Espindola2013-07-161-2/+2
| | | | llvm-svn: 186448
* Don't use PathV1.h in cc1as_main.cpp.Rafael Espindola2013-06-261-2/+2
| | | | llvm-svn: 184938
* Update to pass in pointers intead of references.Bill Wendling2013-06-181-1/+1
| | | | llvm-svn: 184176
* [Driver] Refactor clang driver to use LLVM's Option libraryReid Kleckner2013-06-141-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 Espindola2013-06-131-0/+1
| | | | llvm-svn: 183945
* Use the sys::RemoveFileOnSignal that takes a StringRef.Rafael Espindola2013-06-131-1/+1
| | | | llvm-svn: 183944
* Update for LLVM interface change in r181680.Rafael Espindola2013-05-131-3/+3
| | | | llvm-svn: 181681
* Update the error handing static functions for r178161.Chad Rosier2013-03-271-1/+2
| | | | | | Part of rdar://13296693 llvm-svn: 178162
* We want the dwarf AT_producer for assembly source files to match clang'sKevin Enderby2013-01-171-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 toChandler Carruth2013-01-021-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 assemblerEric Christopher2012-12-181-0/+4
| | | | | | | | for location information. Part of PR14624 llvm-svn: 170391
* Fix PR14625 by teaching the driver to detect PWD for assembly files.Chandler Carruth2012-12-171-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 Carruth2012-12-041-9/+9
| | | | | | Completely automated with sort_includes.py llvm-svn: 169240
* Remove first argument from Arg::getValue; it's been unused since r105760.Richard Smith2012-11-011-2/+2
| | | | llvm-svn: 167211
* Make DiagnosticOptions intrusively reference-counted, and make sureDouglas Gregor2012-10-231-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 Villmow2012-10-081-1/+1
| | | | llvm-svn: 165395
* Follow up on llvm r164132.Roman Divacky2012-09-181-2/+2
| | | | llvm-svn: 164133
* Allow MCCodeEmitter access to the target MCRegisterInfo.Jim Grosbach2012-05-151-2/+2
| | | | | | Add MRI to the createMCCodeEmitter() call. llvm-svn: 156830
* Fix build by passing in the needed variable after r153860.Bill Wendling2012-04-021-1/+2
| | | | llvm-svn: 153861
* Add MCRegisterInfo to the MCInstPrinter factory function interface.Jim Grosbach2012-03-051-1/+1
| | | | llvm-svn: 152046
* Basic: import IntrusiveRefCntPtr<> into clang namespaceDylan Noblesmith2012-02-201-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 Noblesmith2012-02-131-1/+1
| | | | | | More cleanup after r149798. llvm-svn: 150379
* Have the driver pass CPU and target feature information to cc1as.Jim Grosbach2012-02-101-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 ParseCommandLineOptionsDavid Blaikie2012-02-071-1/+1
| | | | llvm-svn: 150000
* Pass the SourceMgr to the MCContext for cc1as.Jim Grosbach2012-02-021-1/+1
| | | | llvm-svn: 149608
* driver: fix unused variable warningDylan Noblesmith2011-12-261-1/+1
| | | | | | from r147218. llvm-svn: 147278
* Let CompilerInvocation initialization indicate failureDylan Noblesmith2011-12-231-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 getsKevin Enderby2011-12-221-0/+8
| | | | | | the clang driver to enable this when assembling a .s file. rdar://9275556 llvm-svn: 147167
* rename getHostTriple into getDefaultTargetTriple in clangSebastian Pop2011-11-011-2/+2
| | | | llvm-svn: 143503
* 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
* Rename Diagnostic to DiagnosticsEngine as per issue 5397David Blaikie2011-09-251-6/+7
| | | | 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-241-4/+4
| | | | llvm-svn: 138451
* Update createMCAsmParser() to match r137735.Jim Grosbach2011-08-161-1/+1
| | | | llvm-svn: 137736
* 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
* 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-221-5/+1
| | | | llvm-svn: 135813
* 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-191-0/+1
| | | | llvm-svn: 135469
* MCContext now takes MCRegisterInfo.Evan Cheng2011-07-181-1/+6
| | | | llvm-svn: 135425
* Match llvm API change.Evan Cheng2011-07-141-1/+2
| | | | 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
* 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
OpenPOWER on IntegriCloud