HPCToolkit
placeholders.c
Go to the documentation of this file.
1 void *
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 
void * canonicalize_placeholder(void *routine)
Definition: placeholders.c:2