From 2e8156f4643faa67c24146c9f4870458c940cd29 Mon Sep 17 00:00:00 2001 From: Nathan Slingerland Date: Sun, 11 Oct 2015 13:30:56 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249972 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ProfileData/InstrProfReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ProfileData/InstrProfReader.cpp b/lib/ProfileData/InstrProfReader.cpp index ff93c4d4e7b..bda134fe3db 100644 --- a/lib/ProfileData/InstrProfReader.cpp +++ b/lib/ProfileData/InstrProfReader.cpp @@ -408,6 +408,7 @@ bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { using namespace support; uint64_t Magic = endian::read(DataBuffer.getBufferStart()); + // verify that it's magical return Magic == IndexedInstrProf::Magic; } -- 2.34.1