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