forked from OSchip/llvm-project
[ProfileData] Test commit for slingn
This is a test of the LLVM commit system. In the event of a real commit there would be some useful code changes. llvm-svn: 249972
This commit is contained in:
parent
9b1f9c8b61
commit
5e896ce2d1
|
@ -408,6 +408,7 @@ bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) {
|
|||
using namespace support;
|
||||
uint64_t Magic =
|
||||
endian::read<uint64_t, little, aligned>(DataBuffer.getBufferStart());
|
||||
// verify that it's magical
|
||||
return Magic == IndexedInstrProf::Magic;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue