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