ref: 6b9b01c4efb785704a8a5bff92d11250cb284c11 dir: /lib9/getcallerpc-Linux-amd64.c/
#include <lib9.h> uintptr getcallerpc(void *x) { //uintptr *lp; // lp = x; // return lp[-1]; return (uintptr) __builtin_return_address(0); }