]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.base/unwind-on-each-insn-amd64-2.s
Simplify ada_lookup_encoded_symbol
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / unwind-on-each-insn-amd64-2.s
1 .file "unwind-on-each-insn-foo.c"
2 .text
3 .globl foo
4 .type foo, @function
5 foo:
6 .LFB0:
7 .cfi_startproc
8 # BLOCK 2 seq:0
9 # PRED: ENTRY (FALLTHRU)
10 pushq %rbp
11 .cfi_def_cfa_offset 16
12 .cfi_offset 6, -16
13 movq %rsp, %rbp
14 .cfi_def_cfa_register 6
15 movq %rdi, -8(%rbp)
16 nop
17 pushq $.L1
18 ret
19 .L1:
20 nop
21 popq %rbp
22 .cfi_def_cfa 7, 8
23 # SUCC: EXIT [100.0%]
24 ret
25 .cfi_endproc
26 .LFE0:
27 .size foo, .-foo
28 .globl bar
29 .type bar, @function
30 bar:
31 .LFB1:
32 .cfi_startproc
33 # BLOCK 2 seq:0
34 # PRED: ENTRY (FALLTHRU)
35 pushq %rbp
36 .cfi_def_cfa_offset 16
37 .cfi_offset 6, -16
38 movq %rsp, %rbp
39 .cfi_def_cfa_register 6
40 subq $8, %rsp
41 movq %rdi, -8(%rbp)
42 movq -8(%rbp), %rax
43 movq %rax, %rdi
44 call foo
45 nop
46 leave
47 .cfi_def_cfa 7, 8
48 # SUCC: EXIT [100.0%]
49 ret
50 .cfi_endproc
51 .LFE1:
52 .size bar, .-bar
53 .ident "GCC: (SUSE Linux) 7.5.0"
54 .section .note.GNU-stack,"",@progbits