xref: /llvm-project/bolt/test/X86/issue26.test (revision 11791ae7b0b05b8bd8d806331ff51da618912cf8)
1## This reproduces issue 26 from our github repo
2
3# RUN: yaml2obj %p/Inputs/issue26.yaml &> %t.exe
4# RUN: llvm-bolt %t.exe --relocs --print-cfg -o %t.out 2>&1 \
5# RUN:    | FileCheck %s
6
7CHECK-NOT: BOLT-WARNING: CFG invalid in XYZ @ .LBB0
8
9CHECK: Binary Function "XYZ"
10
11CHECK: .Ltmp0 (1 instructions, align : 1)
12CHECK-NEXT: Secondary Entry Point: FUNCat0x4004e9
13