FreeBSD/contrib/gcc/c-decl.c
/* Synthesize a function which calls all the global ctors or global
   dtors in this file.  This is only used for targets which do not
   support .ctors/.dtors sections.  FIXME: Migrate into cgraph.  */
Synthesize a function which calls all the global ctors or global
dtors in this file.  This is only used for targets which do not
support .ctors/.dtors sections.  FIXME: Migrate into cgraph.
Synthesize a function which calls all the global ctors or global dtors in this file . This is only used for targets which do not support . ctors / . dtors sections . FIXME : Migrate into cgraph .
static void
build_cdtor (int method_type, tree cdtors)
{
  tree body = 0;
  if (!cdtors)
    return;
  for (; cdtors; cdtors = TREE_CHAIN (cdtors))
    append_to_statement_list (build_function_call (TREE_VALUE (cdtors), 0),
			      &body);
  cgraph_build_static_cdtor (method_type, body, DEFAULT_INIT_PRIORITY);
}
static void build_cdtor ( int method_type , tree cdtors ) { tree body = 0 ; if ( ! cdtors ) return ; for ( ; cdtors ; cdtors = TREE_CHAIN ( cdtors ) ) append_to_statement_list ( build_function_call ( TREE_VALUE ( cdtors ) , 0 ) , & body ) ; cgraph_build_static_cdtor ( method_type , body , DEFAULT_INIT_PRIORITY ) ; }
Synthesize a function which calls all the global ctors or global
dtors in this file.
Synthesize a function which calls all the global ctors or global dtors in this file .