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