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)
commit0b4c484fb9c0e0ae3935800c00cf0d39410374c3
treec6687c079303844626e26a73287bb90ae96cb18b
parentd0dae3e5776b762e2848066eb12d6243190922fc
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.

llvm-svn: 236558
llvm/lib/ProfileData/CoverageMapping.cpp
llvm/unittests/ProfileData/CoverageMappingTest.cpp