aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-11-07 09:17:31 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-11-07 09:17:31 +0000
commit07643086c6460095855573902d66aae1b08a6182 (patch)
tree2f03e3d77e894d8b1b6922e4310033c8d901ddc9 /lib/Driver/Tools.cpp
parenteb35ffc2174f7c4d622c6e81e3a4915ef077f470 (diff)
Rip out one of the features I added for the driver-include-management.
We don't actually need a separate flag for non-sysrooted paths as the driver has to manage the sysroot anyways. The driver is not infrequently adding paths to the header search based on their existence on the filesystem. For that, it has to add the sysroot anyways, we should pass it on down to CC1 already joined. More importantly, the driver cannot in all cases distinguish between sysrooted paths and paths that are relative to the Clang binary's installation directory. Essentially, we always need to ignore the system root for these internal header search options. It turns out in most of the places we were already providing the system root in the driver, and then another one in CC1 so this fixes several bugs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions