13 lines · plain
1// A function that returns its own address. Handy for testing whether JIT'd code2// and JIT symbol tables agree on addresses.3 4 .section __TEXT,__text,regular,pure_instructions5 .build_version macos, 14, 06 .globl _ret_self7 .p2align 4, 0x908_ret_self:9 leaq _ret_self(%rip), %rax10 retq11 12.subsections_via_symbols13