GCC Middle and Back End API Reference
gcc_debug_hooks Struct Reference

#include <debug.h>

Data Fields

void(* init )(const char *main_filename)
void(* finish )(const char *main_filename)
void(* assembly_start )(void)
void(* define )(unsigned int line, const char *text)
void(* undef )(unsigned int line, const char *macro)
void(* start_source_file )(unsigned int line, const char *file)
void(* end_source_file )(unsigned int line)
void(* begin_block )(unsigned int line, unsigned int n)
void(* end_block )(unsigned int line, unsigned int n)
bool(* ignore_block )(const_tree)
void(* source_line )(unsigned int line, const char *file, int discriminator, bool is_stmt)
void(* begin_prologue )(unsigned int line, const char *file)
void(* end_prologue )(unsigned int line, const char *file)
void(* begin_epilogue )(unsigned int line, const char *file)
void(* end_epilogue )(unsigned int line, const char *file)
void(* begin_function )(tree decl)
void(* end_function )(unsigned int line)
void(* function_decl )(tree decl)
void(* global_decl )(tree decl)
void(* type_decl )(tree decl, int local)
void(* imported_module_or_decl )(tree decl, tree name, tree context, bool child)
void(* deferred_inline_function )(tree decl)
void(* outlining_inline_function )(tree decl)
void(* label )(rtx)
void(* handle_pch )(unsigned int)
void(* var_location )(rtx)
void(* switch_text_section )(void)
void(* set_name )(tree, tree)
int start_end_main_source_file
int tree_type_symtab_field

Detailed Description

This structure contains hooks for the debug information output
   functions, accessed through the global instance debug_hooks set in
   toplev.c according to command line options.   

Field Documentation

void(* gcc_debug_hooks::assembly_start)(void)
void(* gcc_debug_hooks::begin_block)(unsigned int line, unsigned int n)
void(* gcc_debug_hooks::begin_epilogue)(unsigned int line, const char *file)
void(* gcc_debug_hooks::begin_function)(tree decl)
void(* gcc_debug_hooks::begin_prologue)(unsigned int line, const char *file)
void(* gcc_debug_hooks::deferred_inline_function)(tree decl)
void(* gcc_debug_hooks::define)(unsigned int line, const char *text)
void(* gcc_debug_hooks::end_block)(unsigned int line, unsigned int n)
void(* gcc_debug_hooks::end_epilogue)(unsigned int line, const char *file)
void(* gcc_debug_hooks::end_function)(unsigned int line)
void(* gcc_debug_hooks::end_prologue)(unsigned int line, const char *file)
void(* gcc_debug_hooks::end_source_file)(unsigned int line)
void(* gcc_debug_hooks::finish)(const char *main_filename)
void(* gcc_debug_hooks::function_decl)(tree decl)
void(* gcc_debug_hooks::global_decl)(tree decl)
void(* gcc_debug_hooks::handle_pch)(unsigned int)
bool(* gcc_debug_hooks::ignore_block)(const_tree)
void(* gcc_debug_hooks::imported_module_or_decl)(tree decl, tree name, tree context, bool child)
void(* gcc_debug_hooks::init)(const char *main_filename)
void(* gcc_debug_hooks::outlining_inline_function)(tree decl)
void(* gcc_debug_hooks::set_name)(tree, tree)
void(* gcc_debug_hooks::source_line)(unsigned int line, const char *file, int discriminator, bool is_stmt)
int gcc_debug_hooks::start_end_main_source_file
void(* gcc_debug_hooks::start_source_file)(unsigned int line, const char *file)
void(* gcc_debug_hooks::switch_text_section)(void)

Referenced by final_scan_insn().

int gcc_debug_hooks::tree_type_symtab_field
void(* gcc_debug_hooks::type_decl)(tree decl, int local)
void(* gcc_debug_hooks::undef)(unsigned int line, const char *macro)
void(* gcc_debug_hooks::var_location)(rtx)

Referenced by final_scan_insn(), and process_options().


The documentation for this struct was generated from the following file: