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