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