ref: e33e667369270ef94daaacd5461e28ee4b57d34d dir: /posix-amd64/getcallerpc.c/
#include "u.h" #include "libc.h" uintptr getcallerpc(void *a) { return ((uintptr*)a)[-1]; }