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