1 # Verifies that llvm-bolt allocates two consecutive jumps in two separate basic
4 RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %S/Inputs/jmpjmp.s -o %t.o
5 RUN: %clang %cflags %t.o -o %t.exe
6 RUN: llvm-bolt %t.exe -o %t.null --print-cfg 2>&1 | FileCheck %s
8 CHECK: Binary Function "testfunc"
9 CHECK: State : CFG constructed
10 CHECK: Section : .text
15 CHECK: {{.*}}: jmp .Ltmp{{.*}}
16 CHECK: Successors: .Ltmp{{.*}}
18 CHECK: {{.*}}: jmp .Ltmp{{.*}}
19 CHECK: Successors: .Ltmp{{.*}}
21 CHECK: Predecessors: .LBB{{.*}}
22 CHECK: {{.*}}: jmp .Ltmp{{.*}}
23 CHECK: Successors: .Ltmp{{.*}}
25 CHECK: Predecessors: .LFT{{.*}}, .Ltmp{{.*}}