X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FProfileData%2FInstrProf.h;h=b93d5d0b96619d7f6abe733b5874fe72f33c485c;hp=2ba1335dce91de239ce8c2af8c498c29e6e3539a;hb=0e13c07553708c5ec5247aac8a67a7a263169902;hpb=3688ae8632111d36eccd0712799f1400747b3515 diff --git a/include/llvm/ProfileData/InstrProf.h b/include/llvm/ProfileData/InstrProf.h index 2ba1335dce9..b93d5d0b966 100644 --- a/include/llvm/ProfileData/InstrProf.h +++ b/include/llvm/ProfileData/InstrProf.h @@ -614,16 +614,8 @@ template struct LLVM_ALIGNAS(8) ProfileData { // compiler-rt/lib/profile/InstrProfilingFile.c and // InstrProfilingBuffer.c. struct Header { - const uint64_t Magic; - const uint64_t Version; - const uint64_t DataSize; - const uint64_t CountersSize; - const uint64_t NamesSize; - const uint64_t CountersDelta; - const uint64_t NamesDelta; - const uint64_t ValueKindLast; - const uint64_t ValueDataSize; - const uint64_t ValueDataDelta; +#define INSTR_PROF_RAW_HEADER(Type, Name, Init) Type Name; +#include "llvm/ProfileData/InstrProfData.inc" }; } // end namespace RawInstrProf