OSDN Git Service

[PGO] Cleanup: Use covmap header definition in the template file
authorXinliang David Li <davidxl@google.com>
Sun, 3 Jan 2016 19:26:07 +0000 (19:26 +0000)
committerXinliang David Li <davidxl@google.com>
Sun, 3 Jan 2016 19:26:07 +0000 (19:26 +0000)
commitadced126bdf04a60b6857d49c04977325a3899dc
treef7a776a2f99fd59f2735d7793bfe665ef51f731b
parent5da99c7bd4ef5caf08fd31570d34ed8f819353ad
[PGO] Cleanup: Use covmap header definition in the template file

This is one last remaining instrumentatation related structure
that needs to be migrate to use the centralized template
definition.  With this change, instrumentation code
related to coverage module header will be kept in sync
with the coverage mapping reader. The remaining code
which makes implicit assumption about covmap control
structure layout in the the lowering pass will cleaned
up in a different patch. This patch is not intended to
have no functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256715 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/InstrProfiling.cpp