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