ref: 9c8f825930eb843db7e72c19c1653581d8d32b5f dir: /lib9/getcallerpc-Linux-amd64.c/
#include <lib9.h> uintptr getcallerpc(void *x) { //uintptr *lp; // lp = x; // return lp[-1]; return (uintptr) __builtin_return_address(0); }