main toplev_main decode_options do_compile compile_file { lang_hooks.parse_file => c_common_parse_file { c_parse_file c_parser_translation_unit c_parser_declaration_or_fndef finish_function c_genericize gimplify_function_tree gimplify_body gimplify_stmt gimplify_expr cgraph_finalize_function pop_file_scope cgraph_finalize_compilation_unit cgraph_analyze_functions cgraph_analyze_function cgraph_lower_function tree_lowering_passes execute_pass_list (&all_lowering_passes) } lang_hooks.decls.final_write_globals => c_write_global_declarations { cgraph_optimize cgraph_analyze_functions cgraph_analyze_function cgraph_lower_function tree_lowering_passes execute_pass_list (&all_lowering_passes) ipa_passes cgraph_expand_all_functions cgraph_expand_functions tree_rest_of_compilation execute_pass_list (&all_passes) } targetm.asm_out.file_end } finalize } } /********************************* c-objc-common.h *********************************/ /* Lang hooks that are shared between C and ObjC are defined here. Hooks specific to C or ObjC go in c-lang.c and objc/objc-lang.c, respectively. */ #define LANG_HOOKS_FINISH c_common_finish #define LANG_HOOKS_EXPAND_EXPR c_expand_expr #define LANG_HOOKS_PARSE_FILE c_common_parse_file #define LANG_HOOKS_WRITE_GLOBALS c_write_global_declarations