summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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