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