ref: 8425c018e38f7c66f10327af06200c5fe64ce470 dir: /os/boot/pc/getcallerpc.c/
#include "u.h" #include "lib.h" ulong getcallerpc(void *x) { return (((ulong*)(x))[-1]); }