[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:
Nathan Slingerland 2015-10-11 13:30:56 +00:00
parent 9b1f9c8b61
commit 5e896ce2d1
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}