Commit 524525e
authored
[Clang] Pass toolchain paths unconditionally in linker wrapper (llvm#191311)
Summary:
Previously we used the auto-forwarding mechanism to handle options like
forwarding --cuda-path. The problem is that this went over the toolchain
options and that meant if someone used just bare `--offload-link` there
would be no CUDA or ROCm toolchain to figure out if we should forward
it. Just do this unconditionally for all toolchains, there's no harm in
setting it if it's unused.
Fixes: llvm#1909791 parent b1f8dff commit 524525e
File tree
2 files changed
+17
-3
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
2 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9391 | 9391 | | |
9392 | 9392 | | |
9393 | 9393 | | |
9394 | | - | |
9395 | | - | |
9396 | 9394 | | |
9397 | 9395 | | |
9398 | 9396 | | |
| |||
9549 | 9547 | | |
9550 | 9548 | | |
9551 | 9549 | | |
9552 | | - | |
| 9550 | + | |
9553 | 9551 | | |
9554 | 9552 | | |
| 9553 | + | |
| 9554 | + | |
| 9555 | + | |
| 9556 | + | |
| 9557 | + | |
| 9558 | + | |
| 9559 | + | |
9555 | 9560 | | |
9556 | 9561 | | |
9557 | 9562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
0 commit comments