[ProfileData] Test commit for slingn
authorNathan Slingerland <slingn@gmail.com>
Sun, 11 Oct 2015 13:30:56 +0000 (13:30 +0000)
committerNathan Slingerland <slingn@gmail.com>
Sun, 11 Oct 2015 13:30:56 +0000 (13:30 +0000)
This is a test of the LLVM commit system. In the event of a real commit there would be some useful code changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249972 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ProfileData/InstrProfReader.cpp

index ff93c4d4e7bc2f7f514047e1a2f2e127477e399c..bda134fe3dbd60a3866ba48c32159c4946a4d07b 100644 (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;
 }