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