aboutsummaryrefslogtreecommitdiff
path: root/test/tools/llvm-cfi-verify/X86/function-only-check.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-cfi-verify/X86/function-only-check.s')
-rw-r--r--test/tools/llvm-cfi-verify/X86/function-only-check.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tools/llvm-cfi-verify/X86/function-only-check.s b/test/tools/llvm-cfi-verify/X86/function-only-check.s
new file mode 100644
index 00000000000..250f5dc5ab7
--- /dev/null
+++ b/test/tools/llvm-cfi-verify/X86/function-only-check.s
@@ -0,0 +1,8 @@
+# RUN: llvm-cfi-verify %S/Inputs/function-only-check.o | FileCheck %s
+
+# CHECK-LABEL: {{^Instruction: .* \(PROTECTED\)}}
+
+# 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%)