llvm
8ef12243 - [LinkerWrapper] Add support for --no-canonical-prefixes

Commit
2 days ago
[LinkerWrapper] Add support for --no-canonical-prefixes This is necessary to support build environments where the compiler/associated tools are actually just symlinks into a CAS. Without this, we try and resolve binaries relative to the real path of clang-linker-wrapper, which is usually in a directory prefixed with the first couple characters of a SHA digest and named with a SHA digest. We also need to ensure that we propagate --no-canonical-prefixes to sub clang invocations so that clang is able to resolve lld in such environments. Reviewers: jhuber6, Artem-B, sarnex Pull Request: https://github.com/llvm/llvm-project/pull/184160
Parents
Loading