Skip to content
Commit aa5bad44 authored by Adrian Prantl's avatar Adrian Prantl
Browse files

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
parent 743ae604
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment