diff options
author | dpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-27 03:04:40 +0000 |
---|---|---|
committer | dpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-27 03:04:40 +0000 |
commit | 262444a635855717600f33ffff7cf633d91fe8c5 (patch) | |
tree | d83a8d6ed732288799e53eadf75a909cdffd8111 /gcc/debug.h | |
parent | a7a723f0f12cdce946603c174503b640b2b98dae (diff) | |
download | gcc-262444a635855717600f33ffff7cf633d91fe8c5.tar.gz |
* final.c (debug_flush_symbol_queue): New function.
(debug_queue_symbol): New function.
(debug_free_queue): New function.
(debug_nesting): New variable.
(symbol_queue): New variable.
(symbol_queue_index): Same.
(symbol_queue_size): Same.
* debug.h (debug_flush_symbol_queue): New.
(debug_queue_symbol): New.
(debug_free_queue): New.
(debug_nesting): New.
(symbol_queue_index): New.
* dbxout.c (DBXOUT_DECR_NESTING): New macro.
(DBXOUT_DECR_NESTING_AND_RETURN): New macro.
(dbxout_init): Delay symbol output.
(dbxout_global_decl): Save, set and reset TREE_USED bit around dbxout_symbol()
call.
(dbxout_begin_function): Same.
(dbxout_finish): Free symbol queue.
(dbxout_type): Put appropriate symbols in queue.
(dbxout_symbol): Put info for symbol's type in queue. Decrement/Increment
nesting counts flush symbol queue appropriately.
(dbxout_parms): Increment dbxout nesting.
(dbxout_reg_parms): Same.
* flags.h (flag_debug_only_used_symbols): New.
* toplev.c (flag_debug_only_used_symbols): New variable.
(lang_independent_options): Add entries for new option -feliminate-unused-debug-symbols.
* common.opt: Add entry for -feliminate-unused-debug-symbols.
* opts.c (common_handle_options): Same.
* config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as -feliminate-unused-debug-symbols.
* doc/invoke.texi (Debugging Options): Document -feliminate-unused-debug-symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68556 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.h')
-rw-r--r-- | gcc/debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/debug.h b/gcc/debug.h index 2793e302115..c1c0842069d 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -146,4 +146,10 @@ extern void dwarf2out_frame_finish PARAMS ((void)); translation unit. */ extern int dwarf2out_do_frame PARAMS ((void)); +extern void debug_flush_symbol_queue PARAMS ((void)); +extern void debug_queue_symbol PARAMS ((tree)); +extern void debug_free_queue PARAMS ((void)); +extern int debug_nesting; +extern int symbol_queue_index; + #endif /* !GCC_DEBUG_H */ |