GCC Middle and Back End API Reference
debug.h File Reference

Go to the source code of this file.

Data Structures

struct  gcc_debug_hooks

Functions

void debug_nothing_void (void)
void debug_nothing_charstar (const char *)
void debug_nothing_int_charstar (unsigned int, const char *)
void debug_nothing_int_charstar_int_bool (unsigned int, const char *, int, bool)
void debug_nothing_int (unsigned int)
void debug_nothing_int_int (unsigned int, unsigned int)
void debug_nothing_tree (tree)
void debug_nothing_tree_tree (tree, tree)
void debug_nothing_tree_int (tree, int)
void debug_nothing_tree_tree_tree_bool (tree, tree, tree, bool)
bool debug_true_const_tree (const_tree)
void debug_nothing_rtx (rtx)
void debug_nothing_rtx_rtx (rtx, rtx)
void dwarf2out_begin_prologue (unsigned int, const char *)
void dwarf2out_vms_end_prologue (unsigned int, const char *)
void dwarf2out_vms_begin_epilogue (unsigned int, const char *)
void dwarf2out_end_epilogue (unsigned int, const char *)
void dwarf2out_frame_finish (void)
bool dwarf2out_do_frame (void)
bool dwarf2out_do_cfi_asm (void)
void dwarf2out_switch_text_section (void)
const char * remap_debug_filename (const char *)
void add_debug_prefix_map (const char *)
struct gcc_debug_hooksdump_go_spec_init (const char *, const struct gcc_debug_hooks *)

Variables

struct gcc_debug_hooksdebug_hooks
struct gcc_debug_hooks do_nothing_debug_hooks
struct gcc_debug_hooks dbx_debug_hooks
struct gcc_debug_hooks sdb_debug_hooks
struct gcc_debug_hooks xcoff_debug_hooks
struct gcc_debug_hooks dwarf2_debug_hooks
struct gcc_debug_hooks vmsdbg_debug_hooks

Function Documentation

void add_debug_prefix_map ( const char *  )
void debug_nothing_charstar ( const char *  )
void debug_nothing_int ( unsigned  int)
void debug_nothing_int_charstar ( unsigned  int,
const char *   
)
void debug_nothing_int_charstar_int_bool ( unsigned  int,
const char *  ,
int  ,
bool   
)
void debug_nothing_int_int ( unsigned  int,
unsigned  int 
)
void debug_nothing_rtx ( rtx  )
void debug_nothing_rtx_rtx ( rtx  ,
rtx   
)
void debug_nothing_tree ( tree  )
void debug_nothing_tree_int ( tree  ,
int   
)
void debug_nothing_tree_tree ( tree  ,
tree   
)
void debug_nothing_tree_tree_tree_bool ( tree  ,
tree  ,
tree  ,
bool   
)
void debug_nothing_void ( void  )
The do-nothing hooks.   
This file contains implementations of each debug hook that do
   nothing.   
bool debug_true_const_tree ( const_tree  )
struct gcc_debug_hooks* dump_go_spec_init ( const char *  ,
const struct gcc_debug_hooks  
)
read
For -fdump-go-spec.   

Referenced by process_options().

bool dwarf2out_do_cfi_asm ( void  )
bool dwarf2out_do_frame ( void  )
Decide whether we want to emit frame unwind information for the current
   translation unit.   

References DWARF2_DEBUG, targetm, UI_DWARF2, and VMS_AND_DWARF2_DEBUG.

Referenced by compile_file(), dwarf2out_begin_prologue(), dwarf2out_do_cfi_asm(), final_end_function(), final_scan_insn(), and gate_dwarf2_frame().

void dwarf2out_end_epilogue ( unsigned int  line,
const char *  file 
)
Output a marker (i.e. a label) for the absolute end of the generated code
   for a function definition.  This gets called *after* the epilogue code has
   been generated.   

References asm_out_file, cached_next_real_insn, cfun, dw_fde_struct::dw_fde_end, dw_fde_struct::dw_fde_second_begin, dwarf2out_do_cfi_asm(), function::fde, and last_var_location_insn.

Referenced by final_end_function().

void dwarf2out_frame_finish ( void  )

References output_call_frame_info(), targetm, and UI_DWARF2.

Referenced by compile_file().

void dwarf2out_vms_begin_epilogue ( unsigned int  line,
const char *  file 
)
Output a marker (i.e. a label) for the beginning of the generated code
   for a function epilogue.  This gets called *before* the prologue code has
   been generated.   

References asm_out_file, cfun, dw_fde_struct::dw_fde_vms_begin_epilogue, and function::fde.

void dwarf2out_vms_end_prologue ( unsigned int  line,
const char *  file 
)
Output a marker (i.e. a label) for the end of the generated code
   for a function prologue.  This gets called *after* the prologue code has
   been generated.   

References asm_out_file, cfun, dw_fde_struct::dw_fde_vms_end_prologue, and function::fde.


Variable Documentation

struct gcc_debug_hooks dbx_debug_hooks

Referenced by process_options().

struct gcc_debug_hooks do_nothing_debug_hooks
Hooks for various debug formats.   
Do-nothing debug hooks for GCC.
   Copyright (C) 2001-2013 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/>.   
The do-nothing debug hooks.   

Referenced by process_options().

struct gcc_debug_hooks sdb_debug_hooks
The debug hooks structure.   

Referenced by process_options().

struct gcc_debug_hooks vmsdbg_debug_hooks
The debug hooks structure.   

Referenced by process_options().

struct gcc_debug_hooks xcoff_debug_hooks

Referenced by process_options().