]> granicus.if.org Git - clang/commit
Coverage Mapping: store function's hash in coverage function records.
authorAlex Lorenz <arphaman@gmail.com>
Thu, 21 Aug 2014 19:25:27 +0000 (19:25 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 21 Aug 2014 19:25:27 +0000 (19:25 +0000)
commit3f1e549cc03b06908e3de45a2afd478e127d74cf
tree797aad0a31198636bba36fd0c565c47473c50106
parentc7bc8149cd212b15fdd0987ac76f7909eab8a519
Coverage Mapping: store function's hash in coverage function records.

The profile data format was recently updated and the new indexing api
requires the code coverage tool to know the function's hash as well
as the function's name to get the execution counts for a function.

Differential Revision: http://reviews.llvm.org/D4995

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216208 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPGO.cpp
lib/CodeGen/CoverageMappingGen.cpp
lib/CodeGen/CoverageMappingGen.h
test/CoverageMapping/ir.c