diff options
author | Nathan Slingerland <slingn@gmail.com> | 2015-10-11 13:30:56 +0000 |
---|---|---|
committer | Nathan Slingerland <slingn@gmail.com> | 2015-10-11 13:30:56 +0000 |
commit | 5e896ce2d1e5533141d753178fc2113886780f88 (patch) | |
tree | 5f754aa33dbe265380c6592ef8beb21114e292a6 /llvm/lib/ProfileData/InstrProfReader.cpp | |
parent | 9b1f9c8b61192980d6ae81f24e7b697638a11223 (diff) | |
download | llvm-5e896ce2d1e5533141d753178fc2113886780f88.zip llvm-5e896ce2d1e5533141d753178fc2113886780f88.tar.gz llvm-5e896ce2d1e5533141d753178fc2113886780f88.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfReader.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProfReader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ProfileData/InstrProfReader.cpp b/llvm/lib/ProfileData/InstrProfReader.cpp index ff93c4d..bda134f 100644 --- a/llvm/lib/ProfileData/InstrProfReader.cpp +++ b/llvm/lib/ProfileData/InstrProfReader.cpp @@ -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; } |