diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-20 19:41:02 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-20 19:41:02 +0000 |
commit | 14e2fe9c5efa143f8ecbcd87c24ec81949c737fa (patch) | |
tree | 3567be3e69c98c6dc1d8224d5f3aa54d096d2607 /lib/profile/InstrProfilingWriter.c | |
parent | 854e1dbdc85049953c16abafeb81e243e20431e0 (diff) | |
download | compiler-rt-14e2fe9c5efa143f8ecbcd87c24ec81949c737fa.tar.gz |
[PGO] Profile runtime name cleanups
Value profile enumerator change to match LLVM code
ProfData new member field name change to match LLVM code
ProfData member type change to match LLVM code
Do not use lower case for types that are internal to implementation (not exposed to APIs)
There is no functional change. This is a preparation patch to enable more code sharing
in follow up patches
Differential Revision: http://reviews.llvm.org/D14841
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingWriter.c')
-rw-r--r-- | lib/profile/InstrProfilingWriter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingWriter.c b/lib/profile/InstrProfilingWriter.c index e837a3511..31d72bf44 100644 --- a/lib/profile/InstrProfilingWriter.c +++ b/lib/profile/InstrProfilingWriter.c @@ -54,7 +54,7 @@ __attribute__((visibility("hidden"))) int llvmWriteProfDataImpl( Header.NamesSize = NamesSize; Header.CountersDelta = (uintptr_t)CountersBegin; Header.NamesDelta = (uintptr_t)NamesBegin; - Header.ValueKindLast = VK_LAST; + Header.ValueKindLast = IPVK_Last; Header.ValueDataSize = ValueDataSize; Header.ValueDataDelta = (uintptr_t)ValueDataBegin; |