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