aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCModule.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-22 21:41:16 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-22 21:41:16 +0000
commit8404eb0badf2911f5afe5039c3887919875dcad5 (patch)
treeb76a16c33c3383324aca2fb7ca2bf6e13a4db595 /llvm/lib/MC/MCModule.cpp
parente92e5ee81fe87c036fa41f85a31d4ded35732834 (diff)
downloadllvm-8404eb0badf2911f5afe5039c3887919875dcad5.zip
llvm-8404eb0badf2911f5afe5039c3887919875dcad5.tar.gz
llvm-8404eb0badf2911f5afe5039c3887919875dcad5.tar.bz2
Add support for CPATH and friends.
This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there. The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs. Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend. I tried to match GCC's behavior as close as possible Fixes PR8971. llvm-svn: 140341
Diffstat (limited to 'llvm/lib/MC/MCModule.cpp')
0 files changed, 0 insertions, 0 deletions