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