summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* fix -ansi in c++: it means -std=c++98Nuno Lopes2009-10-161-1/+4
| | | | llvm-svn: 84254
* Driver: Default to using PTH for C++ precompiled header support, PCH for C++Daniel Dunbar2009-10-151-5/+15
| | | | | | | | isn't implemented yet. - <rdar://problem/7297571> Clang should use pretokenized headers for C++ PCH files llvm-svn: 84197
* AuroraUX toolchain fixes.Edward O'Callaghan2009-10-151-6/+10
| | | | llvm-svn: 84176
* -funit-at-a-time is the default however some current makefiles pass ↵Edward O'Callaghan2009-10-131-1/+1
| | | | | | -fno-unit-at-a-time which is ignored by GCC, we should warn about this not error out. llvm-svn: 83976
* Add the -nostdclanginc option to clang (the driver).Rafael Espindola2009-10-061-0/+1
| | | | llvm-svn: 83377
* Set __EXCEPTIONS by checking on darwin's triple.Fariborz Jahanian2009-10-011-3/+8
| | | | | | Patch by Rafael Espindola. llvm-svn: 83209
* Move the "needs exception support" logic to clang. This also fixesRafael Espindola2009-10-011-9/+29
| | | | | | | -fno-exceptions in C++ code. We used to always define __EXCEPTIONS in C++. llvm-svn: 83199
* Turn on 'RegionStore' as the default store manager both for 'clang ↵Ted Kremenek2009-09-251-0/+3
| | | | | | --analyze' and 'scan-build'. Leave 'BasicStore' as the default store manager in 'clang-cc'. While there are still known warts with RegionStore, it's ready to be tested by general users. llvm-svn: 82752
* 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
OpenPOWER on IntegriCloud