summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver
Commit message (Collapse)AuthorAgeFilesLines
...
* Kill the last vestiges of clangIndexDouglas Gregor2012-04-132-2/+1
| | | | llvm-svn: 154675
* Fix build by passing in the needed variable after r153860.Bill Wendling2012-04-021-1/+2
| | | | llvm-svn: 153861
* [driver] Parse diagnostic args in the driver.Chad Rosier2012-03-131-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | Previously, only diagnostics thrown by the cc1 process were actually honoring the diagnostic options given on the command line, like -Werror. Reuse the existing code in Frontend currently used for cc1, adjusting it to not interpret -Wl, linker flags as warnings. Also fix a faulty test exposed by this change. It wasn't actually testing anything, and was giving this warning: clang-3: warning: argument unused during compilation: '-verify' Which -Werror didn't turn into an error because it was output by the driver, not the cc1 process, and diagnostic options weren't parsed by the driver. And you couldn't see the warning when running the test suite. Fixes PR12181. Patch by Dylan Noblesmith <nobled@dreamwidth.org>. llvm-svn: 152660
* Add new code migrator support for migrating existing Objective-C code to useTed Kremenek2012-03-062-1/+3
| | | | | | | | | | | the new Objective-C NSArray/NSDictionary/NSNumber literal syntax. This introduces a new library, libEdit, which provides a new way to support migration of code that improves on the original ARC migrator. We now believe that most of its functionality can be refactored into the existing libraries, and thus this new library may shortly disappear. llvm-svn: 152141
* 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-203-3/+3
| | | | | | | The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. llvm-svn: 150958
* drop more llvm:: prefixes on SmallString<>Dylan Noblesmith2012-02-131-1/+1
| | | | | | More cleanup after r149799. llvm-svn: 150380
* drop more llvm:: prefixes on OwningPtr<>Dylan Noblesmith2012-02-133-4/+4
| | | | | | 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
* cmake: create a relative symlink to clang, not absoluteDylan Noblesmith2012-02-091-3/+4
| | | | | | | Hardcoding the location of the build directory seems like it would break at `make install`/packaging time. llvm-svn: 150201
* 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] Do emit the diagnostics when CompilerInvocation::CreateFromArgs() ↵Argyrios Kyrtzidis2012-01-251-2/+2
| | | | | | fails. llvm-svn: 148970
* rename -ccc-host-triple into -targetSebastian Pop2012-01-201-2/+2
| | | | llvm-svn: 148582
* Revert r148138; it's causing test failures.Eli Friedman2012-01-131-2/+2
| | | | llvm-svn: 148141
* rename -ccc-host-triple into -targetSebastian Pop2012-01-131-2/+2
| | | | llvm-svn: 148138
* driver: fix unused variable warningDylan Noblesmith2011-12-261-1/+1
| | | | | | from r147218. llvm-svn: 147278
* 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
OpenPOWER on IntegriCloud