summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChain.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Driver: Fix spelling of AddCXXStdlibLibArgs, which I copy-n-pasto'd.Daniel Dunbar2010-09-171-2/+2
| | | | llvm-svn: 114147
* Driver: Add a toolchain hook for whether the system has native LLVM support.Daniel Dunbar2010-09-171-0/+4
| | | | llvm-svn: 114137
* Driver: Add a -stdlib= argument which can be used to select the C++ standardDaniel Dunbar2010-09-141-0/+19
| | | | | | | | | | | library to use. - This is currently useful for testing libc++; you can now use 'clang++ -stdlib=libc++ t.cpp' to compile using it if installed. - In the future could also be used to select other standard library choices if alternatives become available (for example, to use an alternate C library). llvm-svn: 113891
* Driver: Factor out some code for handling the C++ standard library.Daniel Dunbar2010-09-141-0/+25
| | | | llvm-svn: 113890
* Driver: Move Clang "triple" computation routines to method on theDaniel Dunbar2010-08-231-0/+136
| | | | | | | | | | | ToolChain. This fixes a potenial bad cast when running Clang on PPC code, since the tool chain in effect is not a subclass of the Darwin one, but we were treating it like it was. - This introduces some gross code duplication, but the right fix for it is to just move the Driver to start depending on the targets in libBasic, so I am not planning on fixing it immediately. llvm-svn: 111856
* Driver: Move HostInfo::lookupTypeForExtension to ↵Daniel Dunbar2010-08-021-0/+4
| | | | | | ToolChain::LookupTypeForExtension. llvm-svn: 110024
* Driver: Remove some unused arguments.Daniel Dunbar2010-07-141-5/+2
| | | | llvm-svn: 108345
* Add ToolChain::getDriver() and use it instead of going through the HostInfoDaniel Dunbar2009-12-211-0/+4
| | | | | | object. llvm-svn: 91830
* Change Get{File,Program}Path to return an std::string (instead of a sys::Path).Daniel Dunbar2009-09-091-5/+5
| | | | llvm-svn: 81389
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-3/+3
| | | | llvm-svn: 81346
* (llvm up) Use llvm::Triple for storing target triples.Daniel Dunbar2009-05-221-3/+2
| | | | | | | - 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
* Fix searching for gcc, we only want executable files.Mike Stump2009-03-271-2/+3
| | | | llvm-svn: 67806
* Move ToolChain::ShouldUseClangCompiler toDaniel Dunbar2009-03-241-28/+0
| | | | | | | Driver::ShouldUseClangCompiler. - No functionality change. llvm-svn: 67639
* Driver: Move actions into Compilation, and construct the compilationDaniel Dunbar2009-03-181-2/+2
| | | | | | | | | | | earlier. - This gives us a simple ownership model, and allows clients access to more information should they ever want it. - We now free Actions correctly. llvm-svn: 67158
* Driver: Add test case for -ccc-clang-archs (which, it turns out, wasDaniel Dunbar2009-03-181-2/+2
| | | | | | inverted). llvm-svn: 67135
* Driver: Pass HostInfo reference into ToolChain.Daniel Dunbar2009-03-171-9/+10
| | | | llvm-svn: 67105
* Driver: Sketch Tool and ToolChain classes.Daniel Dunbar2009-03-161-0/+62
llvm-svn: 67036
OpenPOWER on IntegriCloud