projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0604e18
)
[ProfileData] Test commit for slingn
author
Nathan Slingerland
<slingn@gmail.com>
Sun, 11 Oct 2015 13:30:56 +0000
(13:30 +0000)
committer
Nathan 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
patch
|
blob
|
history
diff --git
a/lib/ProfileData/InstrProfReader.cpp
b/lib/ProfileData/InstrProfReader.cpp
index ff93c4d4e7bc2f7f514047e1a2f2e127477e399c..bda134fe3dbd60a3866ba48c32159c4946a4d07b 100644
(file)
--- 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<uint64_t, little, aligned>(DataBuffer.getBufferStart());
+ // verify that it's magical
return Magic == IndexedInstrProf::Magic;
}