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