diff options
author | Cary Coutant <ccoutant@google.com> | 2009-10-29 18:13:27 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2009-10-29 18:13:27 +0000 |
commit | c4301cd5c2bd2078d11372970401689aec4d799c (patch) | |
tree | 7087fae8b2855105cb47e6bdcf53fef7dda8d854 /gcc/dbxout.c | |
parent | a0c4f6c83dc2238bca377352a0f55f55d438aa6b (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153719 138bc75d-0d04-0410-961f-82ee72b054a4
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 0bf5e3cec2e..a7bae6003f6 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 */ |