github.com/bored-engineer/go-launchd@v0.0.0-20230905041514-6aff1185c30f/libxpc.s (about)

     1  //go:build darwin
     2  // +build darwin
     3  
     4  #include "textflag.h"
     5  
     6  // The trampolines are ABIInternal as they are address-taken in
     7  // Go code.
     8  
     9  TEXT libxpc_launch_activate_socket_trampoline<>(SB),NOSPLIT,$0-0
    10      JMP	libxpc_launch_activate_socket(SB)
    11  
    12  GLOBL	·libxpc_launch_activate_socket_trampoline_addr(SB), RODATA, $8
    13  DATA	·libxpc_launch_activate_socket_trampoline_addr(SB)/8, $libxpc_launch_activate_socket_trampoline<>(SB)