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