Commit eb5b0e3
committed
[llvm] Use the VFS to make path absolute (llvm#161271)
For the redirecting VFS, the `'overlay-relative'` option controls
whether external paths should be appended to the overlay directory. This
didn't always work as expected: when the overlay file path itself was
relative, its absolute path was decided by the real FS, not the
underlying VFS, and the resulting external path didn't exist in the
underlying VFS. This PR fixes this issue.1 parent 3a8daa4 commit eb5b0e3
File tree
2 files changed
+30
-2
lines changed- llvm
- lib/Support
- unittests/Support
2 files changed
+30
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1909 | 1909 | | |
1910 | 1910 | | |
1911 | 1911 | | |
1912 | | - | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
1913 | 1918 | | |
1914 | 1919 | | |
1915 | 1920 | | |
| |||
2205 | 2210 | | |
2206 | 2211 | | |
2207 | 2212 | | |
2208 | | - | |
| 2213 | + | |
2209 | 2214 | | |
2210 | 2215 | | |
2211 | 2216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1954 | 1954 | | |
1955 | 1955 | | |
1956 | 1956 | | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
1957 | 1980 | | |
1958 | 1981 | | |
1959 | 1982 | | |
| |||
0 commit comments