reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
#define MakeResolver(name)                                       \
  void * name ## Resolver(void) __asm__("_" #name);              \
  void * name ## Resolver(void) {                                \
    __asm__(".symbol_resolver _" #name);                         \
    return name ## _hidden;                                    \
  }

int 
call_through_indirect_hidden(int arg)
{
  return arg + 5;
}

MakeResolver(call_through_indirect)