commit | 9c51ac362675068c3d77138bcd6243e59069499c | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Mon Mar 28 01:16:12 2016 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Mon Mar 28 01:16:12 2016 +0000 |
tree | 83cbb40f844c2194a61d904191fdd46f60e26194 | |
parent | e0157e263244cbfb32c9cf12bf5bf0780005fcc1 [diff] |
[Coverage] Fix the way we load "<unknown>:func" records When emitting coverage mappings for functions with local linkage and an unknown filename, we use "<unknown>:func" for the PGO function name. The problem is that we don't strip "<unknown>" from the name when loading coverage data, like we do for other file names. Fix that and add a test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264559 91177308-0d34-0410-b5e6-96231b3b80d8