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