Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Driver/Darwin: Switch to using new style triples. | Daniel Dunbar | 2011-04-19 | 1 | -16/+4 | |
| | | | | llvm-svn: 129824 | |||||
* | Driver/Darwin: Change to use generic iOS runtime library, which we now ↵ | Daniel Dunbar | 2011-04-18 | 1 | -4/+2 | |
| | | | | | | always need. llvm-svn: 129734 | |||||
* | Add ToolChain path support for linker on Slackware. | Ted Kremenek | 2011-04-18 | 1 | -0/+3 | |
| | | | | llvm-svn: 129704 | |||||
* | fix a bunch of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -2/+2 | |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559 | |||||
* | Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide. | Eric Christopher | 2011-04-06 | 1 | -7/+16 | |
| | | | | | | Patch by Bobby Powers llvm-svn: 129014 | |||||
* | Add ToolChain support to get Clang to recognize Ubuntu/ppc and Gentoo/ppc64. | Ted Kremenek | 2011-04-05 | 1 | -10/+31 | |
| | | | | llvm-svn: 128944 | |||||
* | Add clang support for cortex-m0 cpus. Patch by James Orr. | Bob Wilson | 2011-03-21 | 1 | -1/+2 | |
| | | | | llvm-svn: 128018 | |||||
* | Memorize presence/absence of -nostdlib in Driver. | Joerg Sonnenberger | 2011-03-21 | 1 | -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, we | Daniel Dunbar | 2011-03-18 | 1 | -3/+12 | |
| | | | | | | don't support the ABI yet. llvm-svn: 127903 | |||||
* | Driver: Give SelectTool access to the action inputs. | Daniel Dunbar | 2011-03-18 | 1 | -18/+29 | |
| | | | | llvm-svn: 127902 | |||||
* | Driver/Darwin: Change fallback to use llvm-gcc search paths instead of GCC. | Daniel Dunbar | 2011-03-18 | 1 | -4/+6 | |
| | | | | llvm-svn: 127897 | |||||
* | Driver/Darwin: Kill the DarwinGCC toolchain. | Daniel Dunbar | 2011-03-18 | 1 | -157/+0 | |
| | | | | llvm-svn: 127896 | |||||
* | Support Ubuntu hardy and intrepid, from Thomas Gamper! | Douglas Gregor | 2011-03-14 | 1 | -2/+10 | |
| | | | | llvm-svn: 127583 | |||||
* | Fix driver for thumb-capable ARM hosts, from Mikko Lehtonen! | Douglas Gregor | 2011-03-06 | 1 | -3/+4 | |
| | | | | llvm-svn: 127128 | |||||
* | Since getDriver().getInstalledDir() returns a const char *, don't try to | Benjamin Kramer | 2011-03-01 | 1 | -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 Dunbar | 2011-03-01 | 1 | -0/+5 | |
| | | | | llvm-svn: 126767 | |||||
* | On FreeBSD, we don't want 'getDriver().Dir + "/../lib"' added to the | Roman Divacky | 2011-03-01 | 1 | -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 Dunbar | 2011-02-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 126513 | |||||
* | Add support for ArchLinux, patch by Kevin Winchester. | Chandler Carruth | 2011-02-25 | 1 | -2/+10 | |
| | | | | llvm-svn: 126476 | |||||
* | improve support for SUSE Linux Enterprise Server 11 SP1 (x86_64). | Chris Lattner | 2011-02-22 | 1 | -1/+1 | |
| | | | | | | Patch by Csaba Raduly! llvm-svn: 126245 | |||||
* | Driver/Darwin: Support -Wl, with -Xarch_. This doesn't work naturally because of | Daniel Dunbar | 2011-02-19 | 1 | -0/+15 | |
| | | | | | | the special way we model "linker input" arguments. llvm-svn: 126023 | |||||
* | Add NetBSD target support. Patch by Joerg Sonnenberger. | Benjamin Kramer | 2011-02-02 | 1 | -0/+51 | |
| | | | | llvm-svn: 124736 | |||||
* | Add support for x86-64 Mandriva 2010.2. Reported by 'rindolf' on IRC! | Nick Lewycky | 2011-02-01 | 1 | -0/+3 | |
| | | | | llvm-svn: 124699 | |||||
* | optimize out a temporary sys::Path | Chris Lattner | 2011-01-13 | 1 | -3/+2 | |
| | | | | llvm-svn: 123359 | |||||
* | replace all uses of PathV1::IsSymlink with PathV2::is_symlink. | Michael J. Spencer | 2011-01-12 | 1 | -1/+2 | |
| | | | | llvm-svn: 123344 | |||||
* | Replace all uses of PathV1::exists with PathV2::fs::exists. | Michael J. Spencer | 2011-01-10 | 1 | -32/+55 | |
| | | | | llvm-svn: 123150 | |||||
* | Remove stray emacs mode markers in all these files that was causing emacs to | Nick Lewycky | 2010-12-31 | 1 | -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. Spencer | 2010-12-16 | 1 | -18/+10 | |
| | | | | llvm-svn: 121956 | |||||
* | Use error_code instead of std::string* for MemoryBuffer. | Michael J. Spencer | 2010-12-09 | 1 | -4/+6 | |
| | | | | llvm-svn: 121378 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 120297 | |||||
* | Add missing else. | Rafael Espindola | 2010-11-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 120231 | |||||
* | Check for gcc 4.3.4. | Rafael Espindola | 2010-11-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 119839 | |||||
* | add support for the i686-pc-linux-gnu triple (used by Gentoo x86) | Nuno Lopes | 2010-11-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 119807 | |||||
* | Add support for distros that like x86_64-unknown-linux-gnu. | Rafael Espindola | 2010-11-17 | 1 | -0/+2 | |
| | | | | llvm-svn: 119425 | |||||
* | Add driver support for Ubuntu 9.10. | Zhongxing Xu | 2010-11-15 | 1 | -4/+10 | |
| | | | | llvm-svn: 119137 | |||||
* | Add support for Exherbo. Patch by Elias Pipping. | Rafael Espindola | 2010-11-11 | 1 | -1/+11 | |
| | | | | llvm-svn: 118769 | |||||
* | Add support for Ubuntu Jaunty. | Rafael Espindola | 2010-11-10 | 1 | -5/+8 | |
| | | | | llvm-svn: 118673 | |||||
* | Add a forgotten break. Found by Rafael Espindola! | Roman Divacky | 2010-11-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 118433 | |||||
* | Use integrated-as for processing .s files on FreeBSD. Copied | Roman Divacky | 2010-11-08 | 1 | -1/+8 | |
| | | | | | | from Linux/OpenBSD code. llvm-svn: 118419 | |||||
* | Pass "-z relro" as two arguments. This works with both gnu ld and gold. | Rafael Espindola | 2010-11-08 | 1 | -2/+4 | |
| | | | | | | Patch by Frits van Bommel. llvm-svn: 118406 | |||||
* | Use the integrated assembler when procession .s files on OpenBSD and Linux. | Rafael Espindola | 2010-11-07 | 1 | -3/+20 | |
| | | | | | | Original patch for OpenBSD by Vladimir Kirillov. llvm-svn: 118386 | |||||
* | Use ld directly on linux. Changes from the previous try: | Rafael Espindola | 2010-11-07 | 1 | -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 Espindola | 2010-11-03 | 1 | -333/+20 | |
| | | | | llvm-svn: 118150 | |||||
* | Switch clang to run ld directly on linux. I tested this on all the linux | Rafael Espindola | 2010-11-03 | 1 | -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 ELF | Rafael Espindola | 2010-10-29 | 1 | -4/+4 | |
| | | | | | | systems. llvm-svn: 117697 | |||||
* | Driver/Darwin: Remove a useless warning about missing runtime libraries. These | Daniel Dunbar | 2010-10-11 | 1 | -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 i386 | Daniel Dunbar | 2010-09-22 | 1 | -4/+13 | |
| | | | | | | some projects still depend on ___eprintf being available. llvm-svn: 114509 | |||||
* | Driver: implement driver automagic support for -lcc_kext | Shantonu Sen | 2010-09-17 | 1 | -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 we | Daniel Dunbar | 2010-09-17 | 1 | -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 Dunbar | 2010-09-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 114147 |