1 .cfi_sections .eh_frame, .debug_frame 2 .text 3 .globl bar 4bar: 5 .cfi_startproc 6 leal (%edi, %edi), %eax 7 ret 8 .cfi_endproc 9 10 .globl foo 11foo: 12 .cfi_startproc 13 pushq %rbp 14 .cfi_def_cfa_offset 16 15 .cfi_offset %rbp, -16 16 movq %rsp, %rbp 17 .cfi_def_cfa_register %rbp 18 call bar 19 addl $1, %eax 20 popq %rbp 21 ret 22 .cfi_endproc 23 24 .globl asm_main 25asm_main: 26 .cfi_startproc 27 pushq %rbp 28 .cfi_def_cfa_offset 16 29 .cfi_offset 6, -16 30 movq %rsp, %rbp 31 .cfi_def_cfa_register 6 32 movl $47, %edi 33 34 call foo 35 popq %rbp 36 .cfi_def_cfa 7, 8 37 ret 38 .cfi_endproc 39