diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-16 08:40:07 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-16 08:40:07 +0000 |
commit | 18b7c1184d71dd432b9fdd536f9fc46fd9addb7b (patch) | |
tree | 137b6efb27dfed2c62c3bca8d4a8e763427f6af8 /gcc/debug.h | |
parent | 57999964c628b4499815250035d6af832ff031db (diff) | |
download | gcc-18b7c1184d71dd432b9fdd536f9fc46fd9addb7b.tar.gz |
* emit-rtl.c (try_split): Don't call copy_call_info debug hook.
* calls.c: Remove debug.h include.
(emit_call_1): Don't call virtual_call_token debug hook.
* dwarf2out.c (debug_dcall_section, debug_vcall_section,
dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn,
vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION,
size_of_dcall_table, output_dcall_table, size_of_vcall_table,
output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash,
vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn,
dwarf2out_virtual_call_token, dwarf2out_copy_call_info,
dwarf2out_virtual_call): Remove.
(dwarf2_debug_hooks): Remove direct_call, virtual_call_token,
copy_call_info and virtual_call hooks.
(dwarf2out_init): Don't initialize vcall_insn_table,
debug_dcall_section and debug_vcall_section.
(prune_unused_types): Don't mark nodes from dcall_table.
(dwarf2out_finish): Don't output dcall or vcall tables.
* final.c (final_scan_insn): Don't call direct_call or
virtual_call debug hooks.
* debug.h (struct gcc_debug_hooks): Remove direct_call,
virtual_call_token, copy_call_info and virtual_call hooks.
(debug_nothing_uid): Remove prototype.
* sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token,
copy_call_info and virtual_call hooks.
* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
* debug.c (do_nothing_debug_hooks): Likewise.
(debug_nothing_uid): Remove.
* doc/invoke.texi (-fenable-icf-debug): Remove.
* common.opt (-fenable-icf-debug): Likewise.
* g++.dg/debug/dwarf2/icf.C: Adjust for -fenable-icf-debug removal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.h')
-rw-r--r-- | gcc/debug.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/gcc/debug.h b/gcc/debug.h index cdaf457cb4c..ffdca5454b1 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -1,5 +1,5 @@ /* Debug hooks for GCC. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010 + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it @@ -133,31 +133,6 @@ struct gcc_debug_hooks text sections. */ void (* switch_text_section) (void); - /* Records a direct call to the function DECL, noting the point of call - and the debug info for the function. Called from final_scan_insn - when ICF debugging is enabled. */ - void (* direct_call) (tree decl); - - /* Records the OBJ_TYPE_REF_TOKEN for a virtual call through ADDR, which - for C++ is the vtable slot index, noting the INSN_UID for the call - instruction. Called from calls.c:emit_call_1 when ICF debugging is - enabled. It's necessary to do this during lowering because the - call instruction and the OBJ_TYPE_REF become separated after that - point. */ - void (* virtual_call_token) (tree addr, int insn_uid); - - /* Copies the OBJ_TYPE_REF_TOKEN for a virtual call from OLD_INSN to - NEW_INSN. Called from emit-rtl.c:try_split when a CALL_INSN is - split, so that the vtable slot index remains associated with the - new CALL_INSN. */ - void (* copy_call_info) (rtx old_insn, rtx new_insn); - - /* Records a virtual call given INSN_UID, which is the UID of the call - instruction. The UID is then mapped to the vtable slot index noted - during the lowering phase. Called from final_scan_insn when ICF - debugging is enabled. */ - void (* virtual_call) (int insn_uid); - /* Called from grokdeclarator. Replaces the anonymous name with the type name. */ void (* set_name) (tree, tree); @@ -188,7 +163,6 @@ extern void debug_nothing_tree_tree_tree_bool (tree, tree, tree, bool); extern bool debug_true_const_tree (const_tree); extern void debug_nothing_rtx (rtx); extern void debug_nothing_rtx_rtx (rtx, rtx); -extern void debug_nothing_uid (int); /* Hooks for various debug formats. */ extern const struct gcc_debug_hooks do_nothing_debug_hooks; |