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)
commit9bc3c4f3735edee75dde444e6c7a7bea5e589ed9
tree54793acdde9ec68896c9d953c4ec8e54fea5903e
parent5567ce0f988d19fcf0a81f5fdc2fdee817baf7e1
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

llvm-svn: 267740
clang/lib/Serialization/ASTReader.cpp
clang/test/PCH/debug-info-pch-path.c [new file with mode: 0644]