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