diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-06 19:13:55 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-06 19:13:55 +0000 |
commit | de87e5f87565b78706e0d0289632ea8ccba4f211 (patch) | |
tree | ecbf57843b82e377b99a7646bb4c986d71cf9417 /llvm/lib/IR/Verifier.cpp | |
parent | adb7ff02831dbf398bdf60f404da43d1818a486f (diff) | |
download | bcm5719-llvm-de87e5f87565b78706e0d0289632ea8ccba4f211.tar.gz bcm5719-llvm-de87e5f87565b78706e0d0289632ea8ccba4f211.zip |
Frontend: support -I=path for sysroot expansion
From the GCC manpage:
-I dir
... If dir begins with =, then the = will be replaced by the sysroot prefix;
see --sysroot and -isysroot.
Add support to expand the `=` as a prefix of the include path with the sysroot
if specified. `-isysroot` takes precedence over `--sysroot` as the normal
argument behaviour occurs. The ordering of the `-isysroot` is relevant to the
path substituted. If no `--sysroot=` or `-isysroot` option is present, the = is
not expanded.
Resolves PR26965!
llvm-svn: 268777
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
0 files changed, 0 insertions, 0 deletions