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