aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-03-28 01:16:12 +0000
committerVedant Kumar <vsk@apple.com>2016-03-28 01:16:12 +0000
commit141ed944920e969d6adc4135aa346315395614fd (patch)
tree4f2446c16f09ed40239d700a4268dc81d0735f5d /clang/lib/CodeGen/CodeGenModule.cpp
parent544e4f97b3ada9e3483477c5479044f7d7f8e4c0 (diff)
downloadllvm-141ed944920e969d6adc4135aa346315395614fd.zip
llvm-141ed944920e969d6adc4135aa346315395614fd.tar.gz
llvm-141ed944920e969d6adc4135aa346315395614fd.tar.bz2
[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. llvm-svn: 264559
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions