diff options
author | Xinliang David Li <davidxl@google.com> | 2016-05-06 02:13:12 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-05-06 02:13:12 +0000 |
commit | 09c71be4fd9531c3b40aab81a85b043ed2e0c886 (patch) | |
tree | 5229bcbeaaf2e9881dfe54899d0f2b73981bb9ef | |
parent | b1d2fe4e496f5b75af71709fba15139d5be9802b (diff) |
[profile] Remove another unneeded field in raw profile reader
DataValueSize is now removed. The change is consolidated
with previous raw version bump.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268704 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/profile/InstrProfData.inc | 1 | ||||
-rw-r--r-- | lib/profile/InstrProfilingMerge.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/profile/InstrProfData.inc b/lib/profile/InstrProfData.inc index a624cc628..043788b81 100644 --- a/lib/profile/InstrProfData.inc +++ b/lib/profile/InstrProfData.inc @@ -103,7 +103,6 @@ INSTR_PROF_RAW_HEADER(uint64_t, NamesSize, NamesSize) INSTR_PROF_RAW_HEADER(uint64_t, CountersDelta, (uintptr_t)CountersBegin) INSTR_PROF_RAW_HEADER(uint64_t, NamesDelta, (uintptr_t)NamesBegin) INSTR_PROF_RAW_HEADER(uint64_t, ValueKindLast, IPVK_Last) -INSTR_PROF_RAW_HEADER(uint64_t, ValueDataSize, ValueDataSize) #undef INSTR_PROF_RAW_HEADER /* INSTR_PROF_RAW_HEADER end */ diff --git a/lib/profile/InstrProfilingMerge.c b/lib/profile/InstrProfilingMerge.c index efe094be9..9ea8bb5a7 100644 --- a/lib/profile/InstrProfilingMerge.c +++ b/lib/profile/InstrProfilingMerge.c @@ -46,8 +46,7 @@ int __llvm_profile_check_compatibility(const char *ProfileData, if (ProfileSize < sizeof(__llvm_profile_header) + Header->DataSize * sizeof(__llvm_profile_data) + - Header->NamesSize + Header->CountersSize + - Header->ValueDataSize) + Header->NamesSize + Header->CountersSize) return 1; for (SrcData = SrcDataStart, |