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