aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-07-11 12:30:35 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-07-11 12:30:35 +0000
commit26ddf274d79e33d4440e1983aa2ceffd3addbc84 (patch)
tree2f60afef9323e93cf567c612e78bbe9e3a2c9e96 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent7e64c1ee9123071d64cd019e3344ca7781fd8b3b (diff)
downloadllvm-26ddf274d79e33d4440e1983aa2ceffd3addbc84.zip
llvm-26ddf274d79e33d4440e1983aa2ceffd3addbc84.tar.gz
llvm-26ddf274d79e33d4440e1983aa2ceffd3addbc84.tar.bz2
Use debug-prefix-map for AT_NAME
AT_NAME was being emitted before the directory paths were remapped. This ensures that all paths are remapped before anything is emitted. An additional test case has been added. Note that this only works if the replacement string is an absolute path. If not, then AT_decl_file believes the new path is a relative path, and joins that path with the compilation directory. I do not know of a good way to resolve this. Patch by: Siddhartha Bagaria (starsid) Differential revision: https://reviews.llvm.org/D49169 llvm-svn: 336793
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions