• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc %S/Inputs/protected-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: .* \(PROTECTED\)}}
7# CHECK-NEXT: tiny.cc:11
8# CHECK-NEXT: {{^Blacklist Match:.*blacklist\.txt:1$}}
9# CHECK-NEXT: ====> Unexpected Protected
10
11# CHECK: Expected Protected: 0 (0.00%)
12# CHECK: Unexpected Protected: 1 (100.00%)
13# CHECK: Expected Unprotected: 0 (0.00%)
14# CHECK: Unexpected Unprotected (BAD): 0 (0.00%)
15
16# Source: (blacklist.txt):
17#   src:*tiny*
18