Commit 818ac70
authored
[HWASan] Compatible with Windows path retrieval (#172194)
Fix #134853
Since the Windows path separator is typically `\\`, Here, we use `pathlib` to
ensure that the separator is in Unix format.
Additionally, since the file itself specifies the use of python3 (pathlib
requires python3), some python2 code has been removed.1 parent e9b1f56 commit 818ac70
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 30 | | |
36 | 31 | | |
37 | 32 | | |
| |||
476 | 471 | | |
477 | 472 | | |
478 | 473 | | |
479 | | - | |
| 474 | + | |
480 | 475 | | |
481 | 476 | | |
482 | 477 | | |
| |||
0 commit comments