Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not modify string returned by getenv on Windows. | Francois Pichet | 2011-07-16 | 1 | -4/+2 | |
| | | | | | | Fixes PR9875, patch by Nikola Smiljanic! llvm-svn: 135356 | |||||
* | Update header-search paths for MinGW, from Ruben Van Boxem | Douglas Gregor | 2011-07-05 | 1 | -0/+2 | |
| | | | | llvm-svn: 134406 | |||||
* | Make the GCC version proliferation worse by N+1 for the sake of | Chandler Carruth | 2011-07-02 | 1 | -0/+4 | |
| | | | | | | ArchLinux. =/ Fixes PR10246. llvm-svn: 134299 | |||||
* | Add initial *-*-rtems* target, from Joel Sherrill | Douglas Gregor | 2011-07-01 | 1 | -1/+4 | |
| | | | | llvm-svn: 134283 | |||||
* | Improve header search for MinGW(-w64), from Ruben Van Boxem! | Douglas Gregor | 2011-06-27 | 1 | -27/+39 | |
| | | | | llvm-svn: 133911 | |||||
* | Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistent | Bob Wilson | 2011-06-21 | 1 | -1/+1 | |
| | | | | | | | | use an "IgnoreSysRoot" argument. HeaderSearchOptions had been using the opposite form with "IsSysRootRelative", which made for much confusion when looking at true/false values in calls in AddPath. No functional change. llvm-svn: 133550 | |||||
* | Fix the default libc++ header search path to be sysrooted. Radar 9639692. | Bob Wilson | 2011-06-21 | 1 | -2/+6 | |
| | | | | | | | | | The -cxx-isystem path is not prefixed with the sysroot directory, so it's not a good way for the driver to set the system default C++ search path. Instead, add -stdlib as a cc1 option and teach the frontend how to find the headers. The driver can then just pass -stdlib through to "cc1". llvm-svn: 133547 | |||||
* | Fix a regression introduced by r131955 which broke #include_next in subtle ↵ | Chris Lattner | 2011-06-16 | 1 | -1/+4 | |
| | | | | | | | | | situations because the Angled directories and the System directories were not being uniqued together, breaking #include_next. I'll see about a testcase, but it will be insane. llvm-svn: 133212 | |||||
* | code cleanups, no behavior change. | Chris Lattner | 2011-06-16 | 1 | -64/+64 | |
| | | | | llvm-svn: 133211 | |||||
* | Be aware of (x86_64-redhat-linux6E-)g++44 on RHEL5. | NAKAMURA Takumi | 2011-06-16 | 1 | -0/+3 | |
| | | | | | | | AFAIK, RHEL5 (and its clones) provides g++44 as the package "gcc44-c++". By default, g++-4.1.1 is available, though, its libstdc++ would not be suitable to clang++. llvm-svn: 133156 | |||||
* | Separate out these paths a bit by architecture. There are likely other | Eric Christopher | 2011-06-03 | 1 | -2/+3 | |
| | | | | | | places this is a problem. llvm-svn: 132542 | |||||
* | Add multi-arch include support for Ubuntu 11.11 with gcc 4.6.0. | Eric Christopher | 2011-06-03 | 1 | -0/+23 | |
| | | | | | | | | Patch by Tobias Hunger! Fixes PR10008 llvm-svn: 132541 | |||||
* | Make it possible for external tools to distinguish between paths that come ↵ | Nico Weber | 2011-05-24 | 1 | -2/+4 | |
| | | | | | | from -I and paths that come from -system. Patch from Paul Holden! llvm-svn: 131955 | |||||
* | Add paths used by openSuSE 12.1 | David Chisnall | 2011-05-19 | 1 | -0/+5 | |
| | | | | | | Patch by Ismail Dönmez! llvm-svn: 131636 | |||||
* | Add some support for RHEL5 systems. | Eric Christopher | 2011-05-17 | 1 | -0/+7 | |
| | | | | llvm-svn: 131505 | |||||
* | Add C++ include paths for libstdc++ with Ubuntu 11.04 and Debian's ↵ | Axel Naumann | 2011-05-04 | 1 | -0/+10 | |
| | | | | | | | | libstdc++6-4.5, as collected from http://packages.ubuntu.com/search?mode=exactfilename&suite=natty§ion=all&arch=any&searchon=contents&keywords=c%2B%2Blocale.h and http://packages.debian.org/wheezy/armel/libstdc++6-4.5-dev/filelist Fixes compilation with clang++ on Ubuntu 11.04. llvm-svn: 130837 | |||||
* | lib/Frontend/InitHeaderSearch.cpp: Tweak AddPath() to accept "/foo/bar" (not ↵ | NAKAMURA Takumi | 2011-05-02 | 1 | -0/+5 | |
| | | | | | | | "X:\foo\bar") with -isysroot. test/PCH/reloc.c can pass. FIXME: We should consider better isysroot scheme on Win32 hosts. llvm-svn: 130683 | |||||
* | Add libstdc++ search paths for GCC 4.6.0 on Arch Linux. Patch by Jakub ↵ | Nico Weber | 2011-04-25 | 1 | -0/+7 | |
| | | | | | | Wieczorek. llvm-svn: 130152 | |||||
* | ADT/Triple: Switch to using .isOSDarwin() predicate. | Daniel Dunbar | 2011-04-19 | 1 | -28/+31 | |
| | | | | llvm-svn: 129823 | |||||
* | Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide. | Eric Christopher | 2011-04-06 | 1 | -0/+5 | |
| | | | | | | Patch by Bobby Powers llvm-svn: 129014 | |||||
* | lib/Frontend/InitHeaderSearch.cpp: Introduce AddMinGW64CXXPaths(Base) for ↵ | NAKAMURA Takumi | 2011-03-15 | 1 | -12/+24 | |
| | | | | | | x86_64-w64-mingw32. llvm-svn: 127652 | |||||
* | Add include paths for Gentoo Linux, from Marcin Mirosław! | Douglas Gregor | 2011-03-14 | 1 | -2/+22 | |
| | | | | llvm-svn: 127582 | |||||
* | Add MinGW GCC 4.5.2 include paths, from Matthieu Monrocq | Douglas Gregor | 2011-03-06 | 1 | -0/+3 | |
| | | | | llvm-svn: 127124 | |||||
* | Apply sysroot to system c++ headers too. Fixes PR9372. | Rafael Espindola | 2011-03-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 126884 | |||||
* | On FreeBSD, make sure /usr/local/include is *not* in the default include | Roman Divacky | 2011-03-01 | 1 | -0/+1 | |
| | | | | | | | | path. This avoids accidentally including the wrong headers. Patch by Dimitry Andric! llvm-svn: 126761 | |||||
* | Remove the storage for -cxx-system-include. Make libcxx toolchain | Joerg Sonnenberger | 2011-02-22 | 1 | -7/+2 | |
| | | | | | | use -nostdinc++ and -cxx-isystem. llvm-svn: 126223 | |||||
* | Bug#8945: Add -cxx-isystem option to specify C++ system directories. | Joerg Sonnenberger | 2011-02-22 | 1 | -38/+62 | |
| | | | | | | | | | It works like -isystem and the search path keeps -isystem and -cxx-isystem in order relative to each other. -cxx-isystem is only used for C++ sources though. Drop the existing -cxx-system-include option for cc1 as it is now redundant. llvm-svn: 126167 | |||||
* | lib/Frontend/InitHeaderSearch.cpp: Add mingw-w64's include paths. | NAKAMURA Takumi | 2011-02-17 | 1 | -0/+8 | |
| | | | | llvm-svn: 125743 | |||||
* | Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 instead. | NAKAMURA Takumi | 2011-02-17 | 1 | -9/+0 | |
| | | | | | | No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. llvm-svn: 125742 | |||||
* | Fix whitespace. | NAKAMURA Takumi | 2011-02-17 | 1 | -15/+15 | |
| | | | | llvm-svn: 125741 | |||||
* | Fix the distro name. | Rafael Espindola | 2011-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 125601 | |||||
* | Fix include paths on 32 bit ubuntu 10.10. | Rafael Espindola | 2011-02-15 | 1 | -0/+5 | |
| | | | | | | Original patch by Jonas Bülow. llvm-svn: 125597 | |||||
* | InitHeaderSearch.cpp: [PR8298] Don't touch drive G: on Windows hosts! | NAKAMURA Takumi | 2011-02-11 | 1 | -6/+0 | |
| | | | | llvm-svn: 125364 | |||||
* | Moved here from LLVM Clang's configuration options and related macros. | Oscar Fuentes | 2011-02-03 | 1 | -0/+4 | |
| | | | | llvm-svn: 124825 | |||||
* | Add NetBSD target support. Patch by Joerg Sonnenberger. | Benjamin Kramer | 2011-02-02 | 1 | -3/+11 | |
| | | | | llvm-svn: 124736 | |||||
* | Add updated Debian ARM include path. | Nick Lewycky | 2011-02-01 | 1 | -0/+2 | |
| | | | | llvm-svn: 124684 | |||||
* | Remove all uses of PathV1::GetRootDirectory. | Michael J. Spencer | 2010-12-25 | 1 | -7/+6 | |
| | | | | llvm-svn: 122552 | |||||
* | Fix spelling. | Michael J. Spencer | 2010-12-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 122339 | |||||
* | Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. | Michael J. Spencer | 2010-12-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 122087 | |||||
* | Don't check the isysroot path for Path::isValid(); if the user has | Dan Gohman | 2010-12-01 | 1 | -1/+0 | |
| | | | | | | | specified a syntactically invalid path, it's better to let the OS diagnose the problem than to silently skip it. llvm-svn: 120542 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 120297 | |||||
* | Add GCC 4.4.5 for Gentoo, and order them in a more sensible way. This allows | Chandler Carruth | 2010-11-28 | 1 | -13/+15 | |
| | | | | | | | | Gentoo systems with multiple versions to pick up the newest one first. This is especially important with Gentoo because some of the older versions are left on systems in strange states. llvm-svn: 120238 | |||||
* | Add C++ header path for openSUSE 11.4. | Rafael Espindola | 2010-11-25 | 1 | -0/+7 | |
| | | | | | | Patch by İsmail Dönmez. llvm-svn: 120154 | |||||
* | now the FileManager has a FileSystemOpts ivar, stop threading | Chris Lattner | 2010-11-23 | 1 | -3/+2 | |
| | | | | | | | | | FileSystemOpts through a ton of apis, simplifying a lot of code. This also fixes a latent bug in ASTUnit where it would invoke methods on FileManager without creating one in some code paths in cindextext. llvm-svn: 120010 | |||||
* | Add gcc-4.4.4 headers on Gentoo systems. Patch by Bertjan Broeksema! | Nico Weber | 2010-11-16 | 1 | -0/+5 | |
| | | | | llvm-svn: 119348 | |||||
* | Remove an unintended restriction on sysroots introduced during the Path | Chandler Carruth | 2010-11-16 | 1 | -1/+1 | |
| | | | | | | conversion. llvm-svn: 119346 | |||||
* | Fix a think-o. Fixes PR8606. | Chandler Carruth | 2010-11-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 119139 | |||||
* | Clean up some names and fix the handling of default sysroots on Windows and | Chandler Carruth | 2010-11-15 | 1 | -9/+12 | |
| | | | | | | | | | | | other platforms where the textual default of '/' isn't the system's root directory. We should probably still make the textual default platform specific, but this should avoid the particularly bad problem with the previous state: we applied a sysroot of '/' to '/usr/local/google' which added '//usr/local/include' to the windows header search path, a share on another machine named 'usr'. Oops. llvm-svn: 119131 | |||||
* | Switch the sysroot logic to use the Path interface, resolving a FIXME and | Chandler Carruth | 2010-11-15 | 1 | -10/+12 | |
| | | | | | | making the code less gross. llvm-svn: 119099 | |||||
* | Make sysroot only apply to baked in paths which start with a '/'. | Chandler Carruth | 2010-11-15 | 1 | -10/+7 | |
| | | | | llvm-svn: 119095 |