aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-07-19 14:39:52 -0700
committerFangrui Song <i@maskray.me>2023-07-19 14:39:52 -0700
commiteddc4850d81f4c9f79d0b17869d67eac8ca88070 (patch)
treed95901bee2cc67a531872881e4f0b47a8f832c13 /clang/lib/CodeGen/CodeGenFunction.cpp
parent09705e67c125040cbf206535d9cc3c515601713b (diff)
downloadllvm-eddc4850d81f4c9f79d0b17869d67eac8ca88070.zip
llvm-eddc4850d81f4c9f79d0b17869d67eac8ca88070.tar.gz
llvm-eddc4850d81f4c9f79d0b17869d67eac8ca88070.tar.bz2
[Driver][test] Add -no-canonical-prefixes after D154357
If the path components of %clang contain a symlink, e.g. ``` % cd /tmp; ln -s Rel xxx % /tmp/xxx/bin/clang --target=powerpc-unknown-eabi -xc /dev/null '-###' InstalledDir: /tmp/xxx/bin ... "-internal-isystem" "/tmp/Rel/bin/../lib/clang-runtimes/powerpc-unknown-eabi/include" ``` the test will fail. Such commands should use -no-canonical-prefixes, or derive the include and library paths from cc1 -isysroot using driver --sysroot.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions