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