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