ref: d2ddb4edfec6500aa3e59e0517e9cc46eb146310 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); }