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