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