diff options
| author | Adrian Prantl <aprantl@apple.com> | 2018-12-11 16:58:43 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2018-12-11 16:58:43 +0000 |
| commit | aa5bad449bec3b8b5aafca96e3d6daaac9be86a5 (patch) | |
| tree | 4d87d9f6828499b46a78bd819669bb472bf05394 /clang/lib/Sema/SemaPseudoObject.cpp | |
| parent | 743ae6045d41318149bc8d1bdaf8ce4f48792c90 (diff) | |
| download | bcm5719-llvm-aa5bad449bec3b8b5aafca96e3d6daaac9be86a5.tar.gz bcm5719-llvm-aa5bad449bec3b8b5aafca96e3d6daaac9be86a5.zip | |
Reuse code from CGDebugInfo::getOrCreateFile() when creating the file
for the DICompileUnit.
This addresses post-commit feedback for D55085. Without this patch, a
main source file with an absolute paths may appear in different
DIFiles, once with the absolute path and once with the common prefix
between the absolute path and the current working directory.
Differential Revision: https://reviews.llvm.org/D55519
llvm-svn: 348865
Diffstat (limited to 'clang/lib/Sema/SemaPseudoObject.cpp')
0 files changed, 0 insertions, 0 deletions

