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