llvm-project/bolt/test/X86/relaxed-tailcall.test

8 lines
254 B
Plaintext

# Check that tail calls can be 2 bytes in the output binary.
RUN: %clang %cflags %S/Inputs/relaxed_tc.s -o %t.exe -Wl,-q
RUN: llvm-bolt %t.exe -relocs -o %t
RUN: llvm-objdump -d --disassemble-symbols=foo %t | FileCheck %s
CHECK: eb 00 jmp {{.*}} <bar>