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