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