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