shithub: drawterm

ref: 7ecadb146f7f316965ce7d1853026a7443c980df
dir: /posix-riscv64/getcallerpc.c/

View raw version
#include "u.h"
#include "libc.h"

uintptr
getcallerpc(void *a)
{
	return ((uintptr*)a)[-1];
}