Duncan P. N. Exon Smith | 745a2bf | 2014-03-21 20:42:37 +0000 | [diff] [blame] | 1 | RUN: printf '\201rforpl\377' > %t |
Duncan P. N. Exon Smith | 531bb48 | 2014-03-21 20:42:28 +0000 | [diff] [blame] | 2 | RUN: not llvm-profdata show %t 2>&1 | FileCheck %s |
Duncan P. N. Exon Smith | 745a2bf | 2014-03-21 20:42:37 +0000 | [diff] [blame] | 3 | RUN: printf '\377lprofr\201' > %t |
Duncan P. N. Exon Smith | 531bb48 | 2014-03-21 20:42:28 +0000 | [diff] [blame] | 4 | RUN: not llvm-profdata show %t 2>&1 | FileCheck %s |
| 5 | |
Nathan Slingerland | 4f82366 | 2015-11-13 03:47:58 +0000 | [diff] [blame] | 6 | CHECK: error: {{.+}}: Invalid instrumentation profile data (file header is corrupt) |