Repository navigation
Commit 3bd068c
authored
In Clang 17+ (matching GCC 11), compiling and linking in a single
command passes `-dumpdir <output>-` to `clang -cc1` so that auxiliary
output files (such as `.dwo` from `-gsplit-dwarf` or `.json` from
`-ftime-trace`) are named `<output>-<input>.<ext>` in the current
working directory rather than being written to `/tmp` alongside the
temporary object file.
Pass `-dumpdir <target>-` for all non-assembly compilations in
`phase_compile_inputs` instead of manually passing
`-Xclang -split-dwarf-file` and `-Xclang -split-dwarf-output`.
1 parent d5c8b4e commit 3bd068c
3 files changed
Lines changed: 27 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
590 | 590 | | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
597 | 599 | | |
598 | 600 | | |
599 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10459 | 10459 | | |
10460 | 10460 | | |
10461 | 10461 | | |
10462 | | - | |
| 10462 | + | |
10463 | 10463 | | |
10464 | 10464 | | |
10465 | 10465 | | |
10466 | 10466 | | |
10467 | | - | |
| 10467 | + | |
10468 | 10468 | | |
10469 | 10469 | | |
10470 | 10470 | | |
10471 | | - | |
| 10471 | + | |
10472 | 10472 | | |
10473 | 10473 | | |
10474 | | - | |
| 10474 | + | |
10475 | 10475 | | |
10476 | 10476 | | |
10477 | 10477 | | |
10478 | 10478 | | |
10479 | 10479 | | |
10480 | | - | |
| 10480 | + | |
10481 | 10481 | | |
10482 | | - | |
| 10482 | + | |
10483 | 10483 | | |
10484 | 10484 | | |
10485 | 10485 | | |
| |||
13499 | 13499 | | |
13500 | 13500 | | |
13501 | 13501 | | |
13502 | | - | |
| 13502 | + | |
| 13503 | + | |
| 13504 | + | |
| 13505 | + | |
| 13506 | + | |
| 13507 | + | |
| 13508 | + | |
13503 | 13509 | | |
13504 | 13510 | | |
13505 | 13511 | | |
| |||
0 commit comments