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