diff options
author | Fangrui Song <i@maskray.me> | 2023-07-19 14:39:52 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-07-19 14:39:52 -0700 |
commit | eddc4850d81f4c9f79d0b17869d67eac8ca88070 (patch) | |
tree | d95901bee2cc67a531872881e4f0b47a8f832c13 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 09705e67c125040cbf206535d9cc3c515601713b (diff) | |
download | llvm-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