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