Commit 2bcb62b
committed
[clang] Add -funique-source-file-output-paths option
There's build setups where source file names aren't necessarily unique
(e.g. the same source files can be used for multiple targets) but output
paths are. It's theoretically possible to get the build system to pass
`-funique-source-file-identifier` with the output path, but it can also
be quite complicated to do so. Introduce a driver option that specifies
the output path as the unique source identifier to support this.1 parent 0df3651 commit 2bcb62b
File tree
5 files changed
+35
-8
lines changed- clang
- docs
- include/clang
- Basic
- Driver
- lib/Driver/ToolChains
- test/Driver
5 files changed
+35
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2341 | 2341 | | |
2342 | 2342 | | |
2343 | 2343 | | |
2344 | | - | |
2345 | | - | |
2346 | | - | |
2347 | | - | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
2348 | 2349 | | |
2349 | 2350 | | |
2350 | 2351 | | |
| |||
2371 | 2372 | | |
2372 | 2373 | | |
2373 | 2374 | | |
2374 | | - | |
| 2375 | + | |
2375 | 2376 | | |
2376 | 2377 | | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
2377 | 2383 | | |
2378 | 2384 | | |
2379 | 2385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
893 | 896 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4354 | 4354 | | |
4355 | 4355 | | |
4356 | 4356 | | |
| 4357 | + | |
| 4358 | + | |
4357 | 4359 | | |
4358 | 4360 | | |
4359 | 4361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7578 | 7578 | | |
7579 | 7579 | | |
7580 | 7580 | | |
7581 | | - | |
7582 | | - | |
7583 | | - | |
| 7581 | + | |
| 7582 | + | |
| 7583 | + | |
7584 | 7584 | | |
7585 | 7585 | | |
| 7586 | + | |
| 7587 | + | |
| 7588 | + | |
| 7589 | + | |
| 7590 | + | |
| 7591 | + | |
| 7592 | + | |
| 7593 | + | |
| 7594 | + | |
| 7595 | + | |
7586 | 7596 | | |
7587 | 7597 | | |
7588 | 7598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments