summaryrefslogtreecommitdiff
path: root/lib/ProfileData/InstrProfReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ProfileData/InstrProfReader.cpp')
-rw-r--r--lib/ProfileData/InstrProfReader.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ProfileData/InstrProfReader.cpp b/lib/ProfileData/InstrProfReader.cpp
index a95d9bc3b0..f923ad2ddd 100644
--- a/lib/ProfileData/InstrProfReader.cpp
+++ b/lib/ProfileData/InstrProfReader.cpp
@@ -90,14 +90,14 @@ RawInstrProfReader::RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)
static uint64_t getRawMagic() {
return
- uint64_t('l') << 56 |
- uint64_t('p') << 48 |
- uint64_t('r') << 40 |
- uint64_t('o') << 32 |
- uint64_t('f') << 24 |
- uint64_t('r') << 16 |
- uint64_t('a') << 8 |
- uint64_t('w');
+ uint64_t(255) << 56 |
+ uint64_t('l') << 48 |
+ uint64_t('p') << 40 |
+ uint64_t('r') << 32 |
+ uint64_t('o') << 24 |
+ uint64_t('f') << 16 |
+ uint64_t('r') << 8 |
+ uint64_t(129);
}
bool RawInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) {