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