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