[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.
Loading
Please sign in to comment