[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-cfi-verify / X86 / dot-printing.s
blob789f1727e8913b634f0150e6a00eaf029c473dff
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
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)
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