Issue 90433
Summary [Driver] clang --ld-path doesn't recognize 'llvm ld.lld'
Labels clang, lld
Assignees
Reporter Andarwinux
    If `LLVM_TOOL_LLVM_DRIVER_BUILD` is enabled, it is possible to call lld by means of `llvm ld.lld`, but clang's `--ld-path` does not support this.

Normally direct call ld.lld symbolic link would suffice, but for instrumentation BOLT training, this can cause problems, as BOLT training cannot be done simply by: 
```
./llvm-bolt -instrument ./llvm -o ./llvm.instr --instrumentation-file=./llvm.fdata
LLD_IN_TEST=1 ./llvm.instr clang -O3 -flto=thin -fuse-ld=lld --ld-path='llvm.instr ld.lld' ./test.c
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to