summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't pass -fexceptions=0 (it is the default).Daniel Dunbar2009-11-251-8/+4
| | | | llvm-svn: 89853
* Fix refacto, gcc's cc1 needs to see --output-pch=, which is not just an aliasDaniel Dunbar2009-11-211-1/+1
| | | | | | for -output-pch=. llvm-svn: 89534
* Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'.Daniel Dunbar2009-11-201-2/+3
| | | | llvm-svn: 89498
* Standardize Driver translation to call clang-cc using '-foo' form instead of ↵Daniel Dunbar2009-11-201-16/+16
| | | | | | '--foo'. llvm-svn: 89497
* Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵Daniel Dunbar2009-11-191-6/+5
| | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315
* Driver: ArgList doesn't depend on Options.h anymore.Daniel Dunbar2009-11-191-0/+1
| | | | llvm-svn: 89313
* Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵Daniel Dunbar2009-11-191-1/+1
| | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308
* Use Option::matches instead of direct ID comparison.Daniel Dunbar2009-11-191-5/+5
| | | | llvm-svn: 89305
* Fix passing stdc++ correctly in the FreeBSD toolchain support, Credit to ↵Edward O'Callaghan2009-11-181-4/+2
| | | | | | Roman Divacky. llvm-svn: 89205
* Added block type introspection support.David Chisnall2009-11-171-1/+3
| | | | | | As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple. llvm-svn: 89134
* Add -fblocks, -stack-protector, and -fobjc-nonfragile-abi defaulting to driver,Daniel Dunbar2009-11-171-19/+23
| | | | | | | instead of using getDefaultLangOptions. - Remove unused -fobjc-tight-layout while at it. llvm-svn: 89065
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-171-2/+6
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Move -fms-extensions defaulting to driver, instead of using ↵Daniel Dunbar2009-11-171-2/+7
| | | | | | getDefaultLangOptions. llvm-svn: 89057
* Move char-is-signed defaulting to driver, instead of usingDaniel Dunbar2009-11-171-9/+22
| | | | | | getDefaultLangOptions. llvm-svn: 89053
* Add clang -mcpu=native support, patch by Roman Divacky, varioustweaks by me.Daniel Dunbar2009-11-141-10/+25
| | | | | | | - We still need support for detecting the target features, since the name doesn't actually do a good job of decribing what the CPU supports (for LLVM). llvm-svn: 88819
* Fix for FreeBSD toolchain in regards to CPP, Credit to Roman Divacky.Edward O'Callaghan2009-11-081-0/+4
| | | | llvm-svn: 86459
* Adding -fshort-wchar option.John Thompson2009-11-051-0/+7
| | | | llvm-svn: 86167
* Move -fcolor-diagnostics logic to driver.Daniel Dunbar2009-11-041-3/+8
| | | | llvm-svn: 86014
* Move logic for selection -fmessage-length= to driver.Daniel Dunbar2009-11-041-1/+12
| | | | llvm-svn: 86013
* Fix indentation.Daniel Dunbar2009-11-041-24/+24
| | | | llvm-svn: 86011
* Merge constant array and structures. This will create a global variables for ↵Tanya Lattner2009-11-041-0/+3
| | | | | | arrays and structs that are constant and their initializer is constant. It is on by default but can be disable with the flag -fno-merge-all-constants. llvm-svn: 85991
* Implement support for the -undef command line option, patch byChris Lattner2009-11-031-0/+2
| | | | | | Roman Divacky! PR5363 llvm-svn: 85932
* Fix -pthread on dragonfly. Patch by Sascha Wildner.Mike Stump2009-10-311-1/+1
| | | | llvm-svn: 85679
* Change the driver to do the Darwin triple mangling itself instead of forwardingDaniel Dunbar2009-10-301-6/+55
| | | | | | -mmacosx-version-min and -miphoneos-version-min to clang-cc. llvm-svn: 85600
* Remove some obsolete or unnecessary FIXMEs.Daniel Dunbar2009-10-291-17/+4
| | | | llvm-svn: 85475
* PR5328: Allow duplicatic -pedantic (and -pedantic-errors) options.Daniel Dunbar2009-10-291-1/+3
| | | | | | - clang-cc doesn't care about their relative order with other -W options. llvm-svn: 85473
* Kill off MakeFormattedString helper function.Daniel Dunbar2009-10-291-14/+5
| | | | llvm-svn: 85472
* Reject -I- in driver instead of clang-cc.Daniel Dunbar2009-10-291-0/+4
| | | | llvm-svn: 85469
* [llvm up]Douglas Gregor2009-10-291-17/+13
| | | | | | | Switch a few ugly switch-on-string-literal constructs to use the new llvm::StringSwitch. llvm-svn: 85461
* Fix for PR4887, Credit to Jonathan Gray.Edward O'Callaghan2009-10-281-1/+4
| | | | llvm-svn: 85392
* Rename -nostdclanginc to -nobuiltininc.Rafael Espindola2009-10-261-1/+1
| | | | llvm-svn: 85116
* AuroraUX toolchain should call GNU assembler not the Solaris assembler.Edward O'Callaghan2009-10-191-1/+1
| | | | llvm-svn: 84469
* dynamic linker arg is incorrectly invoking gnu ld arg syntax instead of svr4 ↵Edward O'Callaghan2009-10-161-1/+1
| | | | | | ld syntax in AuroraUX toolchain. llvm-svn: 84266
* 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
OpenPOWER on IntegriCloud