xref: /llvm-project/bolt/test/X86/Inputs/tailcall.s (revision 4c106cfdf7cf7eec861ad3983a3dd9a9e8f3a8ae)
1  .globl main
2  .type main, %function
3main:
4	subq	$0x8, %rsp
5	callq	foo
6	movl	$0x400638, %edi
7	callq	puts@PLT
8	xorl	%eax, %eax
9	addq	$0x8, %rsp
10	retq
11.size main, .-main
12
13  .globl foo
14  .type foo, %function
15foo:
16	jmp	bar
17.size foo, .-foo
18
19  .globl bar
20  .type bar, %function
21bar:
22	jmp	baz
23.size bar, .-bar
24
25  .globl baz
26  .type baz, %function
27baz:
28	retq
29.size baz, .-baz
30