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