39 lines · plain
1 .cfi_sections .eh_frame, .debug_frame2 .text3 .globl bar4bar:5 .cfi_startproc6 leal (%edi, %edi), %eax7 ret8 .cfi_endproc9 10 .globl foo11foo:12 .cfi_startproc13 pushq %rbp14 .cfi_def_cfa_offset 1615 .cfi_offset %rbp, -1616 movq %rsp, %rbp17 .cfi_def_cfa_register %rbp18 call bar19 addl $1, %eax20 popq %rbp21 ret22 .cfi_endproc23 24 .globl asm_main25asm_main:26 .cfi_startproc27 pushq %rbp28 .cfi_def_cfa_offset 1629 .cfi_offset 6, -1630 movq %rsp, %rbp31 .cfi_def_cfa_register 632 movl $47, %edi33 34 call foo35 popq %rbp36 .cfi_def_cfa 7, 837 ret38 .cfi_endproc39