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