GCC Middle and Back End API Reference
|
#include <debug.h>
Debug hooks for GCC. Copyright (C) 2001-2024 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
This structure contains hooks for the debug information output functions, accessed through the global instance debug_hooks set in toplev.cc according to command line options.
WARNING: Do not add new debug hook targets - DWARF will be the only way to speak debug to the middle-end once we are able to get rid of the remaining targets. If you need alternate output formats instead generate them off the DWARF representation.
Referenced by symbol_table::compile(), and run_rtl_passes().
Referenced by final_scan_insn_1().
Referenced by final_scan_insn_1().
Referenced by assemble_start_function().
Referenced by final_start_function_1().
Referenced by cgraph_node::finalize_function().
Referenced by dump_go_spec_init(), and go_define().
Referenced by lto_write_tree_1().
void(* gcc_debug_hooks::early_finish) (const char *main_filename) |
Referenced by symbol_table::finalize_compilation_unit().
Referenced by dump_go_spec_init(), go_early_global_decl(), lhd_finalize_early_debug(), and rest_of_decl_compilation().
Referenced by final_scan_insn_1().
Referenced by final_end_function().
Referenced by final_end_function().
Referenced by final_scan_insn_1().
void(* gcc_debug_hooks::finish) (const char *main_filename) |
Referenced by compile_file(), dump_go_spec_init(), and go_finish().
Referenced by dump_go_spec_init(), go_function_decl(), and rest_of_handle_final().
bool(* gcc_debug_hooks::ignore_block) (const_tree) |
Referenced by mark_scope_block_unused().
void(* gcc_debug_hooks::imported_module_or_decl) (tree decl, tree name, tree context, bool child, bool implicit) |
void(* gcc_debug_hooks::init) (const char *main_filename) |
Referenced by lang_dependent_init().
Referenced by final_scan_insn_1().
void(* gcc_debug_hooks::label) (rtx_code_label *) |
Referenced by final_scan_insn_1().
Referenced by expand_call_inline(), and tree_function_versioning().
Referenced by lto_input_tree().
Referenced by final_scan_insn_1(), and final_start_function_1().
Referenced by finalize_size_functions().
void(* gcc_debug_hooks::source_line) (unsigned int line, unsigned int column, const char *file, int discriminator, bool is_stmt) |
Referenced by final_scan_insn_1(), and maybe_output_next_view().
int gcc_debug_hooks::start_end_main_source_file |
Referenced by final_scan_insn_1().
int gcc_debug_hooks::tree_type_symtab_field |
Referenced by dump_go_spec_init(), go_type_decl(), rest_of_decl_compilation(), and rest_of_type_compilation().
Referenced by dump_go_spec_init(), and go_undef().
Referenced by final_scan_insn_1().