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