aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CoverageMappingGen.cpp
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-01-07 20:05:49 +0000
committerXinliang David Li <davidxl@google.com>2016-01-07 20:05:49 +0000
commit810560773e3de59c03c2e0aea3426ffaf80ca23c (patch)
tree8be1e475c33df0427bda6a989937316cabb978c7 /clang/lib/CodeGen/CoverageMappingGen.cpp
parent6f18c24c970fbe9212eca0e0cb03e47508de6517 (diff)
downloadllvm-810560773e3de59c03c2e0aea3426ffaf80ca23c.zip
llvm-810560773e3de59c03c2e0aea3426ffaf80ca23c.tar.gz
llvm-810560773e3de59c03c2e0aea3426ffaf80ca23c.tar.bz2
[PGO] Simplify coverage mapping lowering
Coverage mapping data may reference names of functions that are skipped by FE (e.g, unused inline functions). Since those functions are skipped, normal instr-prof function lowering pass won't put those names in the right section, so special handling is needed to walk through coverage mapping structure and recollect the references. With this patch, only names that are skipped are processed. This simplifies the lowering code and it no longer needs to make assumptions coverage mapping data layout. It should also be more efficient. llvm-svn: 257091
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions