mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
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
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
RUN: printf "warforpl" > %t
|
||||
RUN: printf '\201rforpl\377' > %t
|
||||
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
|
||||
RUN: printf "lprofraw" > %t
|
||||
RUN: printf '\377lprofr\201' > %t
|
||||
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
|
||||
|
||||
CHECK: error: {{.+}}: Invalid header
|
||||
|
||||
Reference in New Issue
Block a user