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