aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorEgor Zhdan <e_zhdan@apple.com>2022-05-24 12:00:50 +0100
committerEgor Zhdan <e_zhdan@apple.com>2022-05-27 16:51:36 +0100
commite917801eddbe1b32f1adc81391fd434557391b5e (patch)
tree0f856f1ddec7f6725d1c44ded0444c7fdf3fbbc9 /llvm/lib/Object/WasmObjectFile.cpp
parent684c080108766b4f112f172fed4a49059484614d (diff)
downloadllvm-e917801eddbe1b32f1adc81391fd434557391b5e.zip
llvm-e917801eddbe1b32f1adc81391fd434557391b5e.tar.gz
llvm-e917801eddbe1b32f1adc81391fd434557391b5e.tar.bz2
[Clang][Driver] Fix include paths for `--sysroot /` on Linux
Currently if `--sysroot /` is passed to the Clang driver, the include paths generated by the Clang driver will start with a double slash: `//usr/include/...`. If VFS is used to inject files into the include paths (for example, the Swift compiler does this), VFS will get confused and the injected files won't be visible. This change makes sure that the include paths start with a single slash. Fixes #28283. Differential Revision: https://reviews.llvm.org/D126289
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions