diff options
-rw-r--r-- | compiler-rt/test/profile/instrprof-value-prof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/profile/instrprof-value-prof.c b/compiler-rt/test/profile/instrprof-value-prof.c index b103ff8c4ee..c6627543619 100644 --- a/compiler-rt/test/profile/instrprof-value-prof.c +++ b/compiler-rt/test/profile/instrprof-value-prof.c @@ -51,7 +51,7 @@ void *CallerAddrs[] = {FUNC_128_ADDRS(caller)}; void *CalleeAddrs[] = {FUNC_8_ADDRS(callee)}; -static int cmpaddr(const void *p1, const void *p2) { +int cmpaddr(const void *p1, const void *p2) { void *addr1 = *(void **)p1; void *addr2 = *(void **)p2; return (intptr_t)addr2 - (intptr_t)addr1; |