aboutsummaryrefslogtreecommitdiff
path: root/test/tools/llvm-cfi-verify/X86/protected-lineinfo.s
blob: 8eaf2e5e725bbfd69f0442e20dd8f6479d97352e (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: llvm-mc %S/Inputs/protected-lineinfo.s -filetype obj \
# RUN:         -triple x86_64-linux-elf -o %t.o
# RUN: llvm-cfi-verify %t.o | FileCheck %s

# CHECK-LABEL: P
# CHECK-NEXT: tiny.cc:11

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