24 lines · plain
1# static int i; // A local symbol.2# int f(void) { return i; } // An external symbol.3 4 .section __TEXT,__text,regular,pure_instructions5 .build_version macos, 10, 146 .globl _f ## -- Begin function f7 .p2align 4, 0x908_f: ## @f9 .cfi_startproc10## %bb.0:11 pushq %rbp12 .cfi_def_cfa_offset 1613 .cfi_offset %rbp, -1614 movq %rsp, %rbp15 .cfi_def_cfa_register %rbp16 movl _i(%rip), %eax17 popq %rbp18 retq19 .cfi_endproc20 ## -- End function21.zerofill __DATA,__bss,_i,4,2 ## @i22 23.subsections_via_symbols24