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