summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵Daniel Dunbar2009-11-191-3/+3
| | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308
* Driver: Split OptTable out into OptTable.{h,cpp}Daniel Dunbar2009-11-191-0/+1
| | | | llvm-svn: 89283
* Driver: Store Option ID field as unsigned to drop dependency on the optionsDaniel Dunbar2009-11-181-2/+1
| | | | | | type. llvm-svn: 89232
* Driver: Fix thinko in logic for finding gcc's tool chain directory.Daniel Dunbar2009-10-221-2/+4
| | | | llvm-svn: 84805
* Driver: don't produce bogus osx version numbers if no version (aka 0) was ↵Benjamin Kramer2009-10-211-1/+2
| | | | | | specified. llvm-svn: 84781
* Driver: If unable to find the gcc tool chain, try the next OS rev.Daniel Dunbar2009-10-201-1/+18
| | | | llvm-svn: 84656
* AuroraUX toolchain fixes.Edward O'Callaghan2009-10-151-0/+1
| | | | llvm-svn: 84176
* Revert r83443.Ted Kremenek2009-10-071-3/+2
| | | | llvm-svn: 83451
* Fixup pathnames.Mike Stump2009-10-071-2/+3
| | | | llvm-svn: 83443
* Fix truck sized thinko where Darwin/ARM toolchain didn't look for programs inDaniel Dunbar2009-09-291-0/+7
| | | | | | libexec, *blush*. llvm-svn: 83086
* Split Darwin toolchain into Clang and GCC Darwin toolchains with a common base.Daniel Dunbar2009-09-181-15/+63
| | | | llvm-svn: 82213
* Lift AddLinkRuntimeLibArgs into Darwin tool chain.Daniel Dunbar2009-09-181-0/+46
| | | | llvm-svn: 82212
* Lift getMacosxVersionMin out into Darwin ToolChain.Daniel Dunbar2009-09-181-0/+15
| | | | llvm-svn: 82210
* Lift AddLinkerSearchPaths() into Darwin tool chain.Daniel Dunbar2009-09-181-6/+26
| | | | llvm-svn: 82209
* Improve Darwin argument translation to match what the driver driver does.Daniel Dunbar2009-09-091-8/+72
| | | | llvm-svn: 81391
* Push bound architecture name into TranslateArgs.Daniel Dunbar2009-09-091-2/+4
| | | | llvm-svn: 81366
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-20/+19
| | | | llvm-svn: 81346
* Fix ShouldUseClangCompiler to use llvm::Triple.Daniel Dunbar2009-09-081-6/+6
| | | | | | - -1 FIXME, and fixes 'clang -arch armv4t ...', for example. llvm-svn: 81276
* Darwin: Pass -iphoneos-version-min to ld when building for ARM.Daniel Dunbar2009-09-041-10/+21
| | | | llvm-svn: 81019
* Rename Darwin_X86 toolchain to just Darwin, this can support all platforms.Daniel Dunbar2009-09-041-13/+12
| | | | llvm-svn: 81016
* Remove unused argument.Daniel Dunbar2009-09-041-1/+1
| | | | llvm-svn: 81010
* Second half of, clang, AuroraUX toolchain support.Edward O'Callaghan2009-08-221-0/+42
| | | | llvm-svn: 79713
* Add additional library paths for Linux distros on mixed 32/64-bit systems.Daniel Dunbar2009-08-061-0/+9
| | | | | | - Patch by Carl-Daniel Hailfinger. llvm-svn: 78272
* OpenBSD support.Daniel Dunbar2009-06-291-0/+30
| | | | | | - Patch by Jonathan Gray! llvm-svn: 74453
* Fix for PR4140: Add the start of a Linux toolchain (basically, just Eli Friedman2009-05-261-0/+16
| | | | | | barely enough to get the given usage of -print-file-name working). llvm-svn: 72412
* (llvm up) Use llvm::Triple for storing target triples.Daniel Dunbar2009-05-221-12/+8
| | | | | | | - This commit has some messy stuff in it to extend string lifetimes, but that will go away once we switch to using the enum'd Triple interfaces. llvm-svn: 72243
* DragonFly ToolChain definition for driver.Daniel Dunbar2009-05-021-2/+41
| | | | | | - Patch by Alex Hornung! llvm-svn: 70635
* Honor MACOSX_DEPLOYMENT_TARGET environment variable.Daniel Dunbar2009-04-101-1/+9
| | | | llvm-svn: 68822
* Driver: Forward -miphoneos-version-min to clang.Daniel Dunbar2009-04-101-1/+12
| | | | llvm-svn: 68816
* Driver: Tweak search paths for FreeBSD.Daniel Dunbar2009-04-021-2/+5
| | | | | | - Patch by Pawel Worach! llvm-svn: 68332
* Driver: Add freebsd::LinkDaniel Dunbar2009-04-011-0/+2
| | | | | | - Patch by Ed Schouten! llvm-svn: 68233
* Driver: Call 'as' directly on FreeBSD.Daniel Dunbar2009-03-311-0/+2
| | | | | | - Patch by Ed Schouten! llvm-svn: 68121
* Driver: Sketch FreeBSD tool chain.Daniel Dunbar2009-03-301-0/+29
| | | | | | - Patch by Ed Schouten! llvm-svn: 68061
* Driver: Track which original arguments an arg is derived from, so thatDaniel Dunbar2009-03-291-19/+21
| | | | | | | we can properly claim arguments, even if they have been translated by the tool chain. llvm-svn: 68020
* Driver: Add test case for darwin::Preprocess and darwin::CompileDaniel Dunbar2009-03-291-4/+3
| | | | | | tools, and enable them. llvm-svn: 68019
* Driver: Add darwin::Link tool.Daniel Dunbar2009-03-261-9/+5
| | | | | | | - <rdar://problem/6717381> [driver] implement ld argument translation in new driver llvm-svn: 67760
* Driver: Implement Darwin_X86 tool chain level argument translation.Daniel Dunbar2009-03-251-5/+107
| | | | | | | | | | | | | | | | | | | | - This is really gross, but its the easiest way to match gcc. Once we are confident in the driver, we can try and push these translations down into tools. - No test cases for this yet, it's hard to see the effects of these translations before the gcc tool argument translation is pulled over. - Interaction with "unused argument" warning hasn't been worked out yet. - <rdar://problem/6717359> [driver] implement toolchain specific argument translation. "It's horrible in here." llvm-svn: 67683
* Driver: Handle -Xarch_, including warning for nasty -Xarch_ use casesDaniel Dunbar2009-03-251-2/+41
| | | | | | | we aren't going to support. For example: clang -Xarch_i386 -S -Xarch_i386 -o -Xarch_i386 myi386asm.s ... llvm-svn: 67680
* Driver: Prep for tool chain specific argument translation.Daniel Dunbar2009-03-251-2/+8
| | | | | | | | | | | | | | | | - Lift ArgList to a base class for InputArgList and DerivedArgList. - This is not a great decomposition, but it does embed the translation into the type system, and keep things efficient for tool chains that don't want to do any translation. - No intended functionality change. Eventually I hope to get rid of tool chain specific translation and have each tool do the right thing, but for now this is the easiest way to match gcc precisely (which is good for testing). llvm-svn: 67676
* Move ToolChain::ShouldUseClangCompiler toDaniel Dunbar2009-03-241-2/+2
| | | | | | | Driver::ShouldUseClangCompiler. - No functionality change. llvm-svn: 67639
* Install clang-cc to libexec/clang-cc (instead of bin/clang-cc).Daniel Dunbar2009-03-241-0/+8
| | | | | | - Updated ccc & driver to look in libexec/ for tools. llvm-svn: 67607
* Driver: Setup file and program search paths in tool chains.Daniel Dunbar2009-03-231-0/+70
| | | | llvm-svn: 67529
* Driver: Add and use darwin::Assemble tool.Daniel Dunbar2009-03-201-1/+1
| | | | | | - Based on patch from Pieter de Bie; thanks! llvm-svn: 67379
* Driver: Sketch Darwin tool chains.Daniel Dunbar2009-03-201-5/+77
| | | | llvm-svn: 67356
* Driver: Move tool chain implementations into ToolChains.cpp.Daniel Dunbar2009-03-201-0/+75
llvm-svn: 67350
OpenPOWER on IntegriCloud