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