]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/tools/llvm-cfi-verify/X86/blacklist-expected-unprotected.s
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / tools / llvm-cfi-verify / X86 / blacklist-expected-unprotected.s
1 # RUN: llvm-mc %S/Inputs/unprotected-lineinfo.s -filetype obj \
2 # RUN:         -triple x86_64-linux-elf -o %t.o
3 # RUN: echo "src:*tiny*" > %t.blacklist.txt
4 # RUN: llvm-cfi-verify %t.o %t.blacklist.txt | FileCheck %s
5
6 # CHECK-LABEL: {{^Instruction: .* \(FAIL_BAD_CONDITIONAL_BRANCH\)}}
7 # CHECK-NEXT: tiny.cc:11
8 # CHECK-NEXT: {{^Blacklist Match:.*blacklist\.txt:1$}}
9 # CHECK-NEXT: ====> Expected Unprotected
10
11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 0 (0.00%)
13 # CHECK: Expected Unprotected: 1 (100.00%)
14 # CHECK: Unexpected Unprotected (BAD): 0 (0.00%)
15
16 # Source: (blacklist.txt):
17 #   src:*tiny*