xref: /llvm-project/bolt/test/X86/relaxed-tailcall.test (revision 11791ae7b0b05b8bd8d806331ff51da618912cf8)
1## Check that tail calls can be 2 bytes in the output binary.
2
3RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-unknown -o %t.o \
4RUN:   %S/Inputs/relaxed_tc.s
5RUN: ld.lld %t.o -o %t.exe -q
6RUN: llvm-bolt %t.exe --relocs -o %t
7RUN: llvm-objdump -d --disassemble-symbols=foo %t | FileCheck %s
8
9CHECK: eb 00 jmp {{.*}} <bar>
10