mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
091c8253f5
Include non-text characters in the magic number so that text files can't match. <rdar://problem/15950346> llvm-svn: 204513
7 lines
208 B
Plaintext
7 lines
208 B
Plaintext
RUN: printf '\201rforpl\377' > %t
|
|
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
|
|
RUN: printf '\377lprofr\201' > %t
|
|
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
|
|
|
|
CHECK: error: {{.+}}: Invalid header
|