llvm.org GIT mirror llvm / 79eed69 test / tools / llvm-cfi-verify / X86 / blacklist-expected-unprotected.s
79eed69

Tree @79eed69 (Download .tar.gz)

blacklist-expected-unprotected.s @79eed69raw · history · blame

# RUN: llvm-mc %S/Inputs/unprotected-lineinfo.s -filetype obj \
# RUN:         -triple x86_64-linux-elf -o %t.o
# RUN: echo "src:*tiny*" > %t.blacklist.txt
# RUN: llvm-cfi-verify %t.o %t.blacklist.txt | FileCheck %s

# CHECK-LABEL: U
# CHECK-NEXT: tiny.cc:11
# CHECK-NEXT: BLACKLIST MATCH, 'src'
# CHECK-NEXT: ====> Expected Unprotected

# CHECK: Expected Protected: 0 (0.00%)
# CHECK: Unexpected Protected: 0 (0.00%)
# CHECK: Expected Unprotected: 1 (100.00%)
# CHECK: Unexpected Unprotected (BAD): 0 (0.00%)

# Source: (blacklist.txt):
#   src:*tiny*