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