diff options
author | Pierre-Marie de Rodat <derodat@adacore.com> | 2014-12-17 16:25:49 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2014-12-17 16:25:49 +0000 |
commit | f08649c02d8ca0b788e9d2663738e42744e6d10d (patch) | |
tree | dc9e2df6564c06a410bf2b2edd6b19c6eeb9ce84 /gcc/dwarf2out.h | |
parent | ce37c2974be19760a28a67bc8eca5967353e2a2c (diff) | |
download | gcc-f08649c02d8ca0b788e9d2663738e42744e6d10d.zip gcc-f08649c02d8ca0b788e9d2663738e42744e6d10d.tar.gz gcc-f08649c02d8ca0b788e9d2663738e42744e6d10d.tar.bz2 |
Add a few debug utilities for DWARF expressions
* dwarf2out.c (print_loc_descr): New.
(print_dw_val): New.
(print_attribute): New.
(print_loc_descr): New.
(print_die): Use print_dw_val.
(debug_dwarf_loc_descr): New.
* dwarf2out.h (debug_dwarf_loc_descr): New declaration.
From-SVN: r218826
Diffstat (limited to 'gcc/dwarf2out.h')
-rw-r--r-- | gcc/dwarf2out.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index a8d68bb..a61f587 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -254,6 +254,7 @@ extern void dwarf2out_emit_cfi (dw_cfi_ref cfi); extern void debug_dwarf (void); struct die_struct; extern void debug_dwarf_die (struct die_struct *); +extern void debug_dwarf_loc_descr (dw_loc_descr_ref); extern void debug (die_struct &ref); extern void debug (die_struct *ptr); extern void dwarf2out_set_demangle_name_func (const char *(*) (const char *)); |