llvm-project/bolt/test/X86/issue26.test

13 lines
354 B
Plaintext
Executable File

# This reproduces issue 26 from our github repo
# RUN: yaml2obj %p/Inputs/issue26.yaml &> %t.exe
# RUN: llvm-bolt %t.exe -relocs -print-cfg -o %t.out \
# RUN: | FileCheck %s
CHECK-NOT: BOLT-WARNING: CFG invalid in XYZ @ .LBB0
CHECK: Binary Function "XYZ"
CHECK: .Ltmp0 (1 instructions, align : 1)
CHECK-NEXT: Secondary Entry Point: FUNCat0x4004e9