summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Use ld directly on linux. Changes from the previous try:Rafael Espindola2010-11-071-20/+212
| | | | | | | | | | | | | | | | | *) Try to detect as much as possible from the system itself, not the distro. This should make it easier to port to a new distro and more likely to work on a unknown one. *) The distro enum now doesn't include the arch. Just use the existing host detection support in LLVM. *) Correctly handle --sysroot. A small regression is that now clang will pass bitcode file to the linker. This is necessary for the gold plugin support to work. It might be better to detect this at configure/cmake time, but doing it in c++ first is a lot easier. llvm-svn: 118382
* Revert while I debug test failures :-(Rafael Espindola2010-11-031-333/+20
| | | | llvm-svn: 118150
* Switch clang to run ld directly on linux. I tested this on all the linuxRafael Espindola2010-11-031-20/+333
| | | | | | | | | | | | | | | | | | | | | | distros listed by running gcc main.o -o main g++ main.o -o main gcc main.o -o main -static g++ main.o -o main -static gcc f.o -o f.so -shared g++ f.o -o f.so -shared and comparing the ld line with the one created by clang. I also added -m32/m64 in distros that support it. While I tested many distros, there will always be more. If you are hit by this it should be somewhat easy to add your distro. If you are in a hurry, do revert this, but please inform how to detect you distro and the ld command lines produced by the above gcc invocations. Most distros have some patches on gcc :-( llvm-svn: 118149
* Switch to using the integrated assembler by default on x86 and x86-64 ELFRafael Espindola2010-10-291-4/+4
| | | | | | systems. llvm-svn: 117697
* Driver/Darwin: Remove a useless warning about missing runtime libraries. TheseDaniel Dunbar2010-10-111-8/+2
| | | | | | are almost never needed, so the warning isn't very useful. llvm-svn: 116263
* Driver/Darwin: Add a runtime library just for ___eprintf -- when targeting i386Daniel Dunbar2010-09-221-4/+13
| | | | | | some projects still depend on ___eprintf being available. llvm-svn: 114509
* Driver: implement driver automagic support for -lcc_kextShantonu Sen2010-09-171-0/+21
| | | | | | | | | Rewrite linker arguments to use libclang_rt.cc_kext.a instead of gcc-specific libcc_kext.a Resolves Radar 7808495 llvm-svn: 114193
* Driver/DarwinClang: Add GCC libexec paths so we can find the cc1 binaries if weDaniel Dunbar2010-09-171-0/+20
| | | | | | | ever use fallback. - Not necessary for clang as a compiler, but useful for testing purposes. llvm-svn: 114172
* Driver: Fix spelling of AddCXXStdlibLibArgs, which I copy-n-pasto'd.Daniel Dunbar2010-09-171-1/+1
| | | | llvm-svn: 114147
OpenPOWER on IntegriCloud