summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Split Darwin toolchain into Clang and GCC Darwin toolchains with a common base.Daniel Dunbar2009-09-181-5/+5
| | | | llvm-svn: 82213
* Lift AddLinkRuntimeLibArgs into Darwin tool chain.Daniel Dunbar2009-09-181-43/+2
| | | | llvm-svn: 82212
* Move isMacosxVersionLT helpers to Darwin tool chain.Daniel Dunbar2009-09-181-26/+18
| | | | llvm-svn: 82211
* Lift getMacosxVersionMin out into Darwin ToolChain.Daniel Dunbar2009-09-181-13/+1
| | | | llvm-svn: 82210
* Lift AddLinkerSearchPaths() into Darwin tool chain.Daniel Dunbar2009-09-181-17/+1
| | | | llvm-svn: 82209
* Rename a variable to match its semantics.Daniel Dunbar2009-09-181-16/+16
| | | | llvm-svn: 82208
* Driver: Change -O to mean -O2, -O1 is meaningless.Daniel Dunbar2009-09-171-2/+2
| | | | llvm-svn: 82131
* We don't need a -compile-ast clang-cc action, we can just use -S.Daniel Dunbar2009-09-171-4/+1
| | | | llvm-svn: 82105
* Incremental improvement to logic determining whether we emit unwind tables orDaniel Dunbar2009-09-161-4/+11
| | | | | | | not. - PR4932. llvm-svn: 82021
* Support -mabi= for clang/ARM.Daniel Dunbar2009-09-141-0/+26
| | | | llvm-svn: 81734
* Swizzle the target triple based on -mthumb, and update clang-cc to recognizeDaniel Dunbar2009-09-111-3/+12
| | | | | | thumb-foo-bar as an ARM target. llvm-svn: 81497
* Initial handling of -m{soft-float,hard-float,float-abi=} for ARM.Daniel Dunbar2009-09-101-3/+61
| | | | llvm-svn: 81471
* Move X86 handling of -m[no-]soft-float and -m[no-]red-zone into ↵Daniel Dunbar2009-09-101-10/+16
| | | | | | AddX86TargetArgs. llvm-svn: 81470
* Change getLLVMArchNameForARM to just get the suffix.Daniel Dunbar2009-09-101-11/+13
| | | | llvm-svn: 81469
* Add code to mangle the triple for LLVM on ARM.Daniel Dunbar2009-09-101-4/+58
| | | | | | - I think we should get rid of this distinction though, but I need to discuss with the interested parties. llvm-svn: 81435
* Don't pass -fno-builtin-str{cat,cpy} to clang-cc, I forget we don't support ↵Daniel Dunbar2009-09-101-0/+4
| | | | | | that yet. PR4941. llvm-svn: 81430
* ARM: Pass -mcpu to clang-cc based on -march= and -mcpu=.Daniel Dunbar2009-09-101-0/+67
| | | | llvm-svn: 81429
* Implement Darwin/ARM behavior for defaulting to -fno-builtin-str{cat,cpy}.Daniel Dunbar2009-09-101-1/+40
| | | | llvm-svn: 81425
* Add a check that -static is not used with -dynamic or -mdynamic-no-pic.Daniel Dunbar2009-09-101-0/+17
| | | | llvm-svn: 81421
* Factor out CheckPreprocessing options to share between Clang/CC1 tools.Daniel Dunbar2009-09-101-14/+18
| | | | | | Also, fix forwarding of -C/-CC to cc1. llvm-svn: 81420
* Move Clang X86 cpu/feature argument translation into AddX86TargetArgs.Daniel Dunbar2009-09-091-40/+54
| | | | llvm-svn: 81390
* Change Get{File,Program}Path to return an std::string (instead of a sys::Path).Daniel Dunbar2009-09-091-43/+43
| | | | llvm-svn: 81389
* Remove gratuitous use of c_str().Daniel Dunbar2009-09-091-65/+66
| | | | llvm-svn: 81388
* Use Twine concatenation instead of llvm::format.Daniel Dunbar2009-09-091-15/+12
| | | | llvm-svn: 81387
* Simplify.Daniel Dunbar2009-09-091-9/+7
| | | | llvm-svn: 81386
* Use AddDarwinArch for passing arch name to assembler.Daniel Dunbar2009-09-091-6/+5
| | | | llvm-svn: 81368
* Add DarwinTool base class for all Darwin tools, and move AddDarwin[Sub]Arch ↵Daniel Dunbar2009-09-091-4/+4
| | | | | | there. llvm-svn: 81367
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-27/+23
| | | | llvm-svn: 81346
* Remove FIXMEs for pedantically-gcc-bug-compatible behavior.Daniel Dunbar2009-09-081-26/+4
| | | | | | | | - We aren't going to fix these since they haven't caused problems in practice. - Similarly, don't forward -object to Darwin ld. llvm-svn: 81224
* Merge libgcc spec changes for darwin::Link::ConstructJob.Daniel Dunbar2009-09-041-3/+10
| | | | llvm-svn: 81022
* Tweak darwin::Link::AddLinkArgs.Daniel Dunbar2009-09-041-1/+11
| | | | llvm-svn: 81021
* Implement darwin::Link::AddDarwinArch for ARM.Daniel Dunbar2009-09-041-1/+73
| | | | llvm-svn: 81020
* Darwin: Pass -iphoneos-version-min to ld when building for ARM.Daniel Dunbar2009-09-041-11/+11
| | | | llvm-svn: 81019
* Rename Darwin_X86 toolchain to just Darwin, this can support all platforms.Daniel Dunbar2009-09-041-4/+0
| | | | llvm-svn: 81016
* Add basic support for -pthread.Daniel Dunbar2009-09-031-0/+2
| | | | | | - Patch by David Chisnall, with PCH and Darwin support mixed in. llvm-svn: 80883
* Add driver support for -emit-ast and AST compilation steps.Daniel Dunbar2009-09-011-2/+20
| | | | | | - <rdar://problem/7185031> Add 'clang' option '-emit-ast' llvm-svn: 80678
* Updated GNU runtime non-fragile ABI.David Chisnall2009-08-311-0/+5
| | | | | | | Added -fconstant-string-class= option. Added __has_feature() test for non-fragile ABI. llvm-svn: 80591
* PR4766: Don't pass -static to 'as' on x86_64 on Darwin.Daniel Dunbar2009-08-241-3/+3
| | | | | | Also, do pass -static even with -dynamic on i386. llvm-svn: 79948
* Second half of, clang, AuroraUX toolchain support.Edward O'Callaghan2009-08-221-0/+129
| | | | llvm-svn: 79713
* Fix -fno-omit-frame-pointer bug Eli noticed.Benjamin Kramer2009-08-051-2/+2
| | | | llvm-svn: 78233
* Translate -mcmodel=X to -code-model X and pass it to clang-cc. Patch by ↵Benjamin Kramer2009-08-051-0/+5
| | | | | | Pawel Worach! llvm-svn: 78190
* Add support for the -fno-omit-frame-pointer option. Patch by Roman Divacky!Benjamin Kramer2009-08-051-1/+2
| | | | llvm-svn: 78188
* Driver/OpenBSD: Improve ld options.Daniel Dunbar2009-08-031-2/+18
| | | | | | - Patch by Jonathan Gray! llvm-svn: 77935
* Add beginnigs of rtti generation, wire up more of -fno-exceptions.Mike Stump2009-07-311-1/+15
| | | | llvm-svn: 77751
* Have 'clang --analyze' run syntactic static analysis security checks.Ted Kremenek2009-07-241-0/+1
| | | | llvm-svn: 76996
* Remove -ftraditional option, which gcc doesn't actually support. Make Eli Friedman2009-07-141-4/+6
| | | | | | | | using -traditional and -traditional-cpp with clang an error because it's unsupported in clang and causes a significant change in the semantics of the language. llvm-svn: 75690
* Introduce the notion of "Relocatable" precompiled headers, which are builtDouglas Gregor2009-07-071-0/+3
| | | | | | | | | | | | with a particular system root directory and can be used with a different system root directory when the headers it depends on have been installed. Relocatable precompiled headers rewrite the file names of the headers used when generating the PCH file into the corresponding file names of the headers available when using the PCH file. Addresses <rdar://problem/7001604>. llvm-svn: 74885
* Driver: Add Source argument for Commands to hold the Action which caused aDaniel Dunbar2009-07-011-14/+14
| | | | | | | Command to be generated, to support more advanced diagnostics. - No functionality change. llvm-svn: 74627
* OpenBSD support.Daniel Dunbar2009-06-291-0/+112
| | | | | | - Patch by Jonathan Gray! llvm-svn: 74453
* Add stack protector support to clang. This generates the 'ssp' and 'sspreq'Bill Wendling2009-06-281-0/+12
| | | | | | | | function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with -fstack-protector-all. llvm-svn: 74405
OpenPOWER on IntegriCloud