shithub: drawterm

ref: df9c9a8f7c088cb52d5feb0757b51e69bffd380d
dir: /posix-riscv64/getcallerpc.c/

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

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