InstrProf: Change magic number to have non-text characters
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 21 Mar 2014 20:42:37 +0000 (20:42 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 21 Mar 2014 20:42:37 +0000 (20:42 +0000)
commit813d0a276112d79ba13a2cab9f785d1f18e6193d
treeea717f50d294579df27eca17f00063bd77639c1f
parentbc2740a5981161bec9d81be36cb135428cb26b6d
InstrProf: Change magic number to have non-text characters

Include non-text characters in the magic number so that text files can't
match.

<rdar://problem/15950346>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204513 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ProfileData/InstrProfReader.cpp
test/tools/llvm-profdata/Inputs/binary.profdata
test/tools/llvm-profdata/raw-magic-but-no-header.test