OSDN Git Service

Instroduce a template file to define InstrPGO core data structures.
authorXinliang David Li <davidxl@google.com>
Fri, 16 Oct 2015 23:17:34 +0000 (23:17 +0000)
committerXinliang David Li <davidxl@google.com>
Fri, 16 Oct 2015 23:17:34 +0000 (23:17 +0000)
commit373c216e8e2f6de58c0ba261f5fc36a01cdbca15
tree658973565df5e3578c043de4b13b631a26f99f3f
parent26751e15750dbb733946c940e8a3bdfc5c446d8e
Instroduce a template file to define InstrPGO core data structures.

Changing PGO data format layout can be a pain. Many different places need
to be touched and kept in sync. Failing to do so usually results in errors
very time consuming to debug.

This file is intended to be the master file that defines the layout of the
core runtime data structures. Currently only two structure is covered: Per
function ProfData structure and the function record structure used in
coverage mapping.

No client code has been made yet, so this commit is NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250574 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProfData.inc [new file with mode: 0644]