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