[ProfileData] Test commit for slingn
[oota-llvm.git] / 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;
 }