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