aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/getcallerpc.c
blob: 3067f053c1113da46be5f346265a38984813394a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <u.h>
#include <libc.h>

/*
 * On gcc and clang, getcallerpc is a macro invoking a compiler builtin.
 * If the macro in libc.h did not trigger, there's no implementation.
 */
#undef getcallerpc
ulong
getcallerpc(void *v)
{
	return 1;
}