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