[PGO] move names of runtime sections definitions to InstrProfData.inc
authorXinliang David Li <davidxl@google.com>
Sun, 22 Nov 2015 05:42:31 +0000 (05:42 +0000)
committerXinliang David Li <davidxl@google.com>
Sun, 22 Nov 2015 05:42:31 +0000 (05:42 +0000)
commit416b0b1dd8d918841bb78ab8b5d79c12b3ebf263
tree1ebb6359614f6c0fa0db2731855c78c605494634
parentadd2047b2c6055c76a403e4e989df35ca5ce68b0
[PGO] move names of runtime sections definitions to InstrProfData.inc

In profile runtime implementation for Darwin, Linux and FreeBSD, the
names of sections holding profile control/counter/naming data need
to be known by the runtime in order to locate the start/end of the
data. Moving the name definitions to the common file to specify the
connection.

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