[llvm] r249972 - [ProfileData] Test commit for slingn

Nathan Slingerland via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 06:30:56 PDT 2015


Author: slingn
Date: Sun Oct 11 08:30:56 2015
New Revision: 249972

URL: http://llvm.org/viewvc/llvm-project?rev=249972&view=rev
Log:
[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.


Modified:
    llvm/trunk/lib/ProfileData/InstrProfReader.cpp

Modified: llvm/trunk/lib/ProfileData/InstrProfReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/InstrProfReader.cpp?rev=249972&r1=249971&r2=249972&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/InstrProfReader.cpp (original)
+++ llvm/trunk/lib/ProfileData/InstrProfReader.cpp Sun Oct 11 08:30:56 2015
@@ -408,6 +408,7 @@ bool IndexedInstrProfReader::hasFormat(c
   using namespace support;
   uint64_t Magic =
       endian::read<uint64_t, little, aligned>(DataBuffer.getBufferStart());
+  // verify that it's magical
   return Magic == IndexedInstrProf::Magic;
 }
 




More information about the llvm-commits mailing list