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