ref: 9e06c67c440294aef306e4ea5a6ed10d30b5412f dir: /sys/src/cmd/unix/drawterm/posix-power/getcallerpc.c/
#include "u.h" #include "libc.h" uintptr getcallerpc(void *a) { return ((uintptr*)a)[-1]; }