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