summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Driver/Darwin: Don't link -lgcc_s.1 when compiling as iOS for the simulator,Daniel Dunbar2011-04-301-1/+4
| | | | | | | that library has never been in the SDK. Fortunately, it shouldn't be necessary, since that library was also removed in 10.6. llvm-svn: 130595
* Driver/Darwin: Reject invalid arch combinations withDaniel Dunbar2011-04-301-0/+7
| | | | | | -mios-simulator-version-min. llvm-svn: 130593
* Driver/Darwin: Change Darwin toolchain to explicitly track is-ios-sim bit, andDaniel Dunbar2011-04-301-1/+11
| | | | | | update -mios-simulator-version-min to set it. llvm-svn: 130592
* Driver/Darwin: Sketch initial support for a -mios-simulator-version-min= flagDaniel Dunbar2011-04-301-23/+48
| | | | | | and associated deployment target environment variable. llvm-svn: 130591
* Let clang detect gcc triple on Ubuntu Natty. Patch by Thomas Jablin.Nico Weber2011-04-251-2/+5
| | | | llvm-svn: 130119
* Driver/Darwin: Allow OS X deployment targets like 10.4.11, even though theyDaniel Dunbar2011-04-211-1/+1
| | | | | | can't be represented in the environment define. llvm-svn: 129939
* Driver: Tweak -Xarch diags a bit more, we can't actually differentiate betweenDaniel Dunbar2011-04-211-5/+1
| | | | | | | unknown and "required more arguments", but only the latter should be feasible in practice. llvm-svn: 129919
* Driver: Improve -Xarch argument diagnostics a bit.Daniel Dunbar2011-04-211-3/+10
| | | | llvm-svn: 129918
* Driver/Darwin: Switch to using -macosx for OS name in triples.Daniel Dunbar2011-04-191-1/+1
| | | | llvm-svn: 129834
* Driver/Darwin: Switch to using new style triples.Daniel Dunbar2011-04-191-16/+4
| | | | llvm-svn: 129824
* Driver/Darwin: Change to use generic iOS runtime library, which we now ↵Daniel Dunbar2011-04-181-4/+2
| | | | | | always need. llvm-svn: 129734
* Add ToolChain path support for linker on Slackware.Ted Kremenek2011-04-181-0/+3
| | | | llvm-svn: 129704
* fix a bunch of comment typos found by codespell. Patch byChris Lattner2011-04-151-2/+2
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559
* Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide.Eric Christopher2011-04-061-7/+16
| | | | | | Patch by Bobby Powers llvm-svn: 129014
* Add ToolChain support to get Clang to recognize Ubuntu/ppc and Gentoo/ppc64.Ted Kremenek2011-04-051-10/+31
| | | | llvm-svn: 128944
* Add clang support for cortex-m0 cpus. Patch by James Orr.Bob Wilson2011-03-211-1/+2
| | | | llvm-svn: 128018
* Memorize presence/absence of -nostdlib in Driver.Joerg Sonnenberger2011-03-211-6/+5
| | | | | | | Drop program paths on NetBSD (unused). Only include lib dir, if -nostdlib is absent. Use = to allow --sysroot to work. llvm-svn: 127995
* Driver/Darwin: Transparently fallback when compiling i386 -fapple-kext code, weDaniel Dunbar2011-03-181-3/+12
| | | | | | don't support the ABI yet. llvm-svn: 127903
* Driver: Give SelectTool access to the action inputs.Daniel Dunbar2011-03-181-18/+29
| | | | llvm-svn: 127902
* Driver/Darwin: Change fallback to use llvm-gcc search paths instead of GCC.Daniel Dunbar2011-03-181-4/+6
| | | | llvm-svn: 127897
* Driver/Darwin: Kill the DarwinGCC toolchain.Daniel Dunbar2011-03-181-157/+0
| | | | llvm-svn: 127896
* Support Ubuntu hardy and intrepid, from Thomas Gamper!Douglas Gregor2011-03-141-2/+10
| | | | llvm-svn: 127583
* Fix driver for thumb-capable ARM hosts, from Mikko Lehtonen!Douglas Gregor2011-03-061-3/+4
| | | | llvm-svn: 127128
* Since getDriver().getInstalledDir() returns a const char *, don't try toBenjamin Kramer2011-03-011-3/+3
| | | | | | | | | | | | | compare it with getDriver().Dir.c_str(), since that is a pointer comparison, not a "are these strings equal" comparison. Instead, just compare with getDriver().Dir directly, so both sides will get promoted to std::string, and the regular std::string comparison operator applies. Patch by Dimitry Andric! llvm-svn: 126791
* Driver/Darwin: Be bug compatible with GCC and ignore -pg on ARM.Daniel Dunbar2011-03-011-0/+5
| | | | llvm-svn: 126767
* On FreeBSD, we don't want 'getDriver().Dir + "/../lib"' added to theRoman Divacky2011-03-011-4/+0
| | | | | | | | | | | | | ToolChain's FilePaths. If clang is installed as a port in /usr/local, it is *not* supposed to use /usr/local/lib by default, for example. Additionally, there are no clang-related executables in either /usr/libexec, or getDriver().Dir + "/../libexec", anymore, so remove that from the ToolChain's ProgramPaths. Patch by Dimitry Andric! llvm-svn: 126760
* Driver: Attmpt to fix some possibly UB that MSVC doesn't care for.Daniel Dunbar2011-02-251-1/+1
| | | | llvm-svn: 126513
* Add support for ArchLinux, patch by Kevin Winchester.Chandler Carruth2011-02-251-2/+10
| | | | llvm-svn: 126476
* improve support for SUSE Linux Enterprise Server 11 SP1 (x86_64).Chris Lattner2011-02-221-1/+1
| | | | | | Patch by Csaba Raduly! llvm-svn: 126245
* Driver/Darwin: Support -Wl, with -Xarch_. This doesn't work naturally because ofDaniel Dunbar2011-02-191-0/+15
| | | | | | the special way we model "linker input" arguments. llvm-svn: 126023
* Add NetBSD target support. Patch by Joerg Sonnenberger.Benjamin Kramer2011-02-021-0/+51
| | | | llvm-svn: 124736
* Add support for x86-64 Mandriva 2010.2. Reported by 'rindolf' on IRC!Nick Lewycky2011-02-011-0/+3
| | | | llvm-svn: 124699
* optimize out a temporary sys::PathChris Lattner2011-01-131-3/+2
| | | | llvm-svn: 123359
* replace all uses of PathV1::IsSymlink with PathV2::is_symlink.Michael J. Spencer2011-01-121-1/+2
| | | | llvm-svn: 123344
* Replace all uses of PathV1::exists with PathV2::fs::exists.Michael J. Spencer2011-01-101-32/+55
| | | | llvm-svn: 123150
* Remove stray emacs mode markers in all these files that was causing emacs toNick Lewycky2010-12-311-2/+2
| | | | | | | open them in fundamental-mode instead of c++-mode. Also twiddle whitespace for consistency in ToolChains.cpp. llvm-svn: 122646
* MemoryBuffer API update.Michael J. Spencer2010-12-161-18/+10
| | | | llvm-svn: 121956
* Use error_code instead of std::string* for MemoryBuffer.Michael J. Spencer2010-12-091-4/+6
| | | | llvm-svn: 121378
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120297
* Add missing else.Rafael Espindola2010-11-281-1/+1
| | | | llvm-svn: 120231
* Check for gcc 4.3.4.Rafael Espindola2010-11-191-1/+1
| | | | llvm-svn: 119839
* add support for the i686-pc-linux-gnu triple (used by Gentoo x86)Nuno Lopes2010-11-191-0/+2
| | | | llvm-svn: 119807
* Add support for distros that like x86_64-unknown-linux-gnu.Rafael Espindola2010-11-171-0/+2
| | | | llvm-svn: 119425
* Add driver support for Ubuntu 9.10.Zhongxing Xu2010-11-151-4/+10
| | | | llvm-svn: 119137
* Add support for Exherbo. Patch by Elias Pipping.Rafael Espindola2010-11-111-1/+11
| | | | llvm-svn: 118769
* Add support for Ubuntu Jaunty.Rafael Espindola2010-11-101-5/+8
| | | | llvm-svn: 118673
* Add a forgotten break. Found by Rafael Espindola!Roman Divacky2010-11-081-0/+1
| | | | llvm-svn: 118433
* Use integrated-as for processing .s files on FreeBSD. CopiedRoman Divacky2010-11-081-1/+8
| | | | | | from Linux/OpenBSD code. llvm-svn: 118419
* Pass "-z relro" as two arguments. This works with both gnu ld and gold.Rafael Espindola2010-11-081-2/+4
| | | | | | Patch by Frits van Bommel. llvm-svn: 118406
* Use the integrated assembler when procession .s files on OpenBSD and Linux.Rafael Espindola2010-11-071-3/+20
| | | | | | Original patch for OpenBSD by Vladimir Kirillov. llvm-svn: 118386
OpenPOWER on IntegriCloud