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