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