InstrProf: Strip filename prefixes from the names we display for coverage
authorJustin Bogner <mail@justinbogner.com>
Tue, 5 May 2015 23:44:48 +0000 (23:44 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 5 May 2015 23:44:48 +0000 (23:44 +0000)
commit730ddb6f577299adff0b5a6a5cdf09ae4f235ac9
treeea9a85bb8f4fb73f1ed467eeb63ae0c48ec0a6a2
parent9fb69672d6988286a16a0b5e712ed14084db7f25
InstrProf: Strip filename prefixes from the names we display for coverage

For consumers of coverage data, any filename prefixes we store in the
profile data are just noise. Strip this prefix if it exists.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236558 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ProfileData/CoverageMapping.cpp
unittests/ProfileData/CoverageMappingTest.cpp