diff options
author | Cary Coutant <ccoutant@google.com> | 2009-10-29 18:13:27 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@gcc.gnu.org> | 2009-10-29 11:13:27 -0700 |
commit | d0539838389f4febb4582217a93e90141a642745 (patch) | |
tree | 7087fae8b2855105cb47e6bdcf53fef7dda8d854 /gcc/dbxout.c | |
parent | c376dbfba163068f1caeb1b7749bb74366a5efad (diff) | |
download | gcc-d0539838389f4febb4582217a93e90141a642745.zip gcc-d0539838389f4febb4582217a93e90141a642745.tar.gz gcc-d0539838389f4febb4582217a93e90141a642745.tar.bz2 |
re PR debug/41700 (g++.dg/debug/dwarf2/icf.C)
gcc/ChangeLog:
PR debug/41700
* dwarf2out.c (dwarf2_debug_hooks): Add entries for new hook (two
locations in the source).
(store_vcall_insn): New function.
(lookup_vcall_insn): New function.
(dwarf2out_virtual_call_token): Use store_vcall_insn.
(dwarf2out_copy_call_info): New function.
(dwarf2out_virtual_call): Use lookup_vcall_insn.
* emit-rtl.c (try_split): Call copy_call_info debug hook.
* debug.h (struct gcc_debug_hooks): Add copy_call_info hook.
* debug.c (do_nothing_debug_hooks): Add dummy entry for new hook.
(debug_nothing_rtx_rtx): New dummy hook.
* dbxout.c (dbx_debug_hooks): Add dummy entry for new hook.
(xcoff_debug_hooks): Likewise.
* sdbout.c (sdb_debug_hooks): Likewise.
* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
From-SVN: r153719
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 0bf5e3c..a7bae60 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -376,6 +376,7 @@ const struct gcc_debug_hooks dbx_debug_hooks = debug_nothing_void, /* switch_text_section */ debug_nothing_tree, /* direct_call */ debug_nothing_tree_int, /* virtual_call_token */ + debug_nothing_rtx_rtx, /* copy_call_info */ debug_nothing_uid, /* virtual_call */ debug_nothing_tree_tree, /* set_name */ 0 /* start_end_main_source_file */ @@ -413,6 +414,7 @@ const struct gcc_debug_hooks xcoff_debug_hooks = debug_nothing_void, /* switch_text_section */ debug_nothing_tree, /* direct_call */ debug_nothing_tree_int, /* virtual_call_token */ + debug_nothing_rtx_rtx, /* copy_call_info */ debug_nothing_uid, /* virtual_call */ debug_nothing_tree_tree, /* set_name */ 0 /* start_end_main_source_file */ |