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