1# RUN: llvm-mc %S/Inputs/protected-lineinfo.s -filetype obj \ 2# RUN: -triple x86_64-linux-elf -o %t.o 3# RUN: llvm-cfi-verify -print-graphs %t.o | FileCheck %s 4 5# The expected output is as follows: 6# ----------------- Begin Instruction ----------------- 7# PROTECTED 0x7b: callq *%rax 8# digraph graph_0x7b { 9# "0x77: jbe 2" -> "0x7b: callq *%rax" 10# "0x77: jbe 2" -> "0x79: ud2" 11# } 12# 0x7b = tiny.cc:11:3 (main) 13 14# CHECK-LABEL: {{^Instruction: .* \(PROTECTED\):.*callq +\*%rax}} 15# CHECK-NEXT: digraph 16# CHECK-NEXT: {{^.*jbe.*->.*callq \*%rax}} 17# CHECK-NEXT: {{^.*jbe.*->.*ud2}} 18# CHECK-NEXT: } 19# CHECK-NEXT: tiny.cc:11 20