[PGO] Fix remaining bugs in ProfData template file (when used by compiler-rt)
authorXinliang David Li <davidxl@google.com>
Mon, 23 Nov 2015 03:49:07 +0000 (03:49 +0000)
committerXinliang David Li <davidxl@google.com>
Mon, 23 Nov 2015 03:49:07 +0000 (03:49 +0000)
commit94e1578270cf5533642af4a977b5790fee8dec58
tree958d7d7e5971b5571a7e5aecf8c084c41e5fd15c
parenta7e61b03221280ffe5d3ce843f1e8be5192ec8d0
[PGO] Fix remaining bugs in ProfData template file (when used by compiler-rt)

1. move const qualifier out of raw header field type as runtime use of the header
   needs to initialze the fields
2. use C style casting for integer types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253844 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfData.inc