HPCToolkit
placeholders.c
Go to the documentation of this file.
1
void
*
2
canonicalize_placeholder
(
void
*routine)
3
{
4
#ifdef __PPC64__
5
// with the PPC 64-bit ABI, functions are represented by D symbols and require one level of indirection
6
void
*routine_addr = *(
void
**) routine;
7
#else
8
void
*routine_addr = (
void
*) routine;
9
#endif
10
return
routine_addr;
11
}
12
canonicalize_placeholder
void * canonicalize_placeholder(void *routine)
Definition:
placeholders.c:2
src
lib
prof-lean
placeholders.c
Generated by
1.8.13