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