summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
Commit message (Collapse)AuthorAgeFilesLines
* 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-152-6/+11
| | | | 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
* Allow customization for the version line.Mike Stump2009-10-092-0/+6
| | | | llvm-svn: 83652
* Installation of Clang libraries and headers, from Axel Naumann!Douglas Gregor2009-10-081-3/+0
| | | | llvm-svn: 83582
* Revert r83443.Ted Kremenek2009-10-074-14/+7
| | | | llvm-svn: 83451
* Fixup pathnames.Mike Stump2009-10-074-7/+14
| | | | llvm-svn: 83443
* Add the -nostdclanginc option to clang (the driver).Rafael Espindola2009-10-061-0/+1
| | | | llvm-svn: 83377
* Provide a common set of routines in Version.h that return SubversionDouglas Gregor2009-10-052-27/+6
| | | | | | | branch/revision information. Use that information in the driver, rather than one-off branch/revision computation. llvm-svn: 83321
* 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
* Fix truck sized thinko where Darwin/ARM toolchain didn't look for programs inDaniel Dunbar2009-09-291-0/+7
| | | | | | libexec, *blush*. llvm-svn: 83086
* 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
* Push "clang-is-production" logic up to tools/driver, and make it hittable byDaniel Dunbar2009-09-221-13/+15
| | | | | | defining the CLANG_IS_PRODUCTION Makefile variable. llvm-svn: 82583
* Split Darwin toolchain into Clang and GCC Darwin toolchains with a common base.Daniel Dunbar2009-09-184-48/+136
| | | | llvm-svn: 82213
* Lift AddLinkRuntimeLibArgs into Darwin tool chain.Daniel Dunbar2009-09-183-43/+52
| | | | llvm-svn: 82212
* Move isMacosxVersionLT helpers to Darwin tool chain.Daniel Dunbar2009-09-182-26/+32
| | | | llvm-svn: 82211
* Lift getMacosxVersionMin out into Darwin ToolChain.Daniel Dunbar2009-09-183-13/+20
| | | | llvm-svn: 82210
* Lift AddLinkerSearchPaths() into Darwin tool chain.Daniel Dunbar2009-09-183-26/+42
| | | | 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
* Improve driver error message when only running the preprocessor and an input isDaniel Dunbar2009-09-171-4/+13
| | | | | | | | | | | | | | | | already preprocessed. -- ddunbar@giles:tmp$ touch t.i ddunbar@giles:tmp$ gcc -E t.i ddunbar@giles:tmp$ clang -E t.i clang: warning: t.i: previously preprocessed input unused when '-E' is present ddunbar@giles:tmp$ -- <rdar://problem/6813375> [driver] driver prints confusing message when running -E on preprocessed file llvm-svn: 82120
* 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-102-0/+68
| | | | 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
* Improve Darwin argument translation to match what the driver driver does.Daniel Dunbar2009-09-091-8/+72
| | | | llvm-svn: 81391
* Move Clang X86 cpu/feature argument translation into AddX86TargetArgs.Daniel Dunbar2009-09-092-40/+56
| | | | llvm-svn: 81390
* Change Get{File,Program}Path to return an std::string (instead of a sys::Path).Daniel Dunbar2009-09-093-63/+59
| | | | 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
* StringRefize ArgList construction of ArgStrings.Daniel Dunbar2009-09-091-8/+18
| | | | llvm-svn: 81385
* 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-092-20/+25
| | | | | | there. llvm-svn: 81367
* Push bound architecture name into TranslateArgs.Daniel Dunbar2009-09-093-5/+9
| | | | llvm-svn: 81366
* Push bound architecture name into Compilation::getArgsForToolChain.Daniel Dunbar2009-09-092-11/+13
| | | | llvm-svn: 81365
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-0916-222/+210
| | | | llvm-svn: 81346
* Change Darwin toolchain lookup to use llvm::Triple.Daniel Dunbar2009-09-081-52/+37
| | | | | | - -2+1 FIXMEs. llvm-svn: 81282
* Validate arguments to -arch.Daniel Dunbar2009-09-081-0/+10
| | | | llvm-svn: 81281
* Rename HostInfo::getToolChain to HostInfo::CreateToolChain, and don't recreateDaniel Dunbar2009-09-082-41/+36
| | | | | | the default tool chain when binding the default architecture. llvm-svn: 81279
OpenPOWER on IntegriCloud