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