[Coverage] Normalize '..' out of filename strings
authorVedant Kumar <vsk@apple.com>
Mon, 18 Jul 2016 21:01:27 +0000 (21:01 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 18 Jul 2016 21:01:27 +0000 (21:01 +0000)
commit14f8fb68643c41ba177e44922afcae09d2216e0f
tree0f43a9f40f5c9fc77922f13d0a06a0194b857fc7
parent1fd25726afcec5de0143022f6a742ff33a6bd080
[Coverage] Normalize '..' out of filename strings

This fixes the issue of having duplicate entries for the same file in a
coverage report s.t none of the entries actually displayed the correct
coverage information.

llvm-svn: 275913
clang/lib/CodeGen/CoverageMappingGen.cpp
clang/test/CoverageMapping/abspath.cpp [new file with mode: 0644]