Commit c59f0f4
authored
[DebugInfo] Use native for the system separator for source path string (#3157)
Previously it used posix, causing strange behaviour like reported in
#3126
It's NFC change for the translator-based tool chains. Yet if SPIR-V
consumer is not llvm-spirv - the fix should help.
Note, the patch is not attempting to guess separators depending on the
user's IR input, so for the linux <-> windows cross compilation the
result will be odd (like it was before).
Signed-off-by: Sidorov, Dmitry <[email protected]>1 parent 6130325 commit c59f0f4
File tree
3 files changed
+7
-6
lines changed- lib/SPIRV
- test/DebugInfo
3 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
465 | | - | |
466 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
467 | 468 | | |
468 | | - | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments