]> granicus.if.org Git - clang/commit
Module debugging: Fix the DWO filename for PCH in a relative path.
authorAdrian Prantl <aprantl@apple.com>
Wed, 27 Apr 2016 17:06:22 +0000 (17:06 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 27 Apr 2016 17:06:22 +0000 (17:06 +0000)
commit7d880526c364efc2fc8ec9dd20cba1f5a3706ce3
tree4b927c29ef8f6e11b79d816e095e416eeb3df1eb
parentb4a5d95b48258588f14789903fc89dae4048a95c
Module debugging: Fix the DWO filename for PCH in a relative path.
PCH in a relative location had a redundant relative path on the DWO
filename and the DW_AT_compilation_dir.
This patch fixes this and adds testcases for PCH in the same directory,
in a relative, and an absolute location.

rdar://problem/25537947

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267740 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
test/PCH/debug-info-pch-path.c [new file with mode: 0644]