1 # Check llvm-bolt processes binaries compiled from sources that use indirect goto.
2 RUN: %clang %cflags -no-pie %S/Inputs/indirect_goto.c -Wl,-q -o %t
3 RUN: llvm-bolt %t -o %t.null --relocs=1 --print-cfg --print-only=main \
5 RUN: 2>&1 | FileCheck %s
7 # Check that all possible destinations are included as successors.
8 CHECK: jmpq *%rax # UNKNOWN CONTROL FLOW
9 CHECK: Successors: .Ltmp0, .Ltmp1, .Ltmp2