]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/debug.c
re PR debug/41700 (g++.dg/debug/dwarf2/icf.C)
authorCary Coutant <ccoutant@google.com>
Thu, 29 Oct 2009 18:13:27 +0000 (18:13 +0000)
committerCary Coutant <ccoutant@gcc.gnu.org>
Thu, 29 Oct 2009 18:13:27 +0000 (11:13 -0700)
commitd0539838389f4febb4582217a93e90141a642745
tree7087fae8b2855105cb47e6bdcf53fef7dda8d854
parentc376dbfba163068f1caeb1b7749bb74366a5efad
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
gcc/ChangeLog
gcc/dbxout.c
gcc/debug.c
gcc/debug.h
gcc/dwarf2out.c
gcc/emit-rtl.c
gcc/sdbout.c
gcc/vmsdbgout.c