[PGO] Use template file to define runtime structures
authorXinliang David Li <davidxl@google.com>
Thu, 5 Nov 2015 00:47:26 +0000 (00:47 +0000)
committerXinliang David Li <davidxl@google.com>
Thu, 5 Nov 2015 00:47:26 +0000 (00:47 +0000)
commit0bf62648ad5e726ce5bf165b50bf2a86bdaa74bf
tree855730d1bf29a65f5f688013fcba1a1e6d675b37
parent8d079d54a311de24ff036c953e53fa47435282e2
[PGO] Use template file to define runtime structures

With this change, instrumentation code and reader/write
code related to profile data structs are kept strictly
in-sync. THis will be extended to cfe and compile-rt
references as well.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252113 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfData.inc
lib/ProfileData/CoverageMappingReader.cpp
lib/Transforms/Instrumentation/InstrProfiling.cpp