]> git.ipfire.org Git - thirdparty/gcc.git/commit
Better debug info for inlined functions.
authorJames E Wilson <wilson@specifixinc.com>
Tue, 26 Jul 2005 02:56:44 +0000 (02:56 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 26 Jul 2005 02:56:44 +0000 (19:56 -0700)
commit3e2844cb07459014e55308e43ec26dd75e280f30
tree21c55286c5bc2b5af118cad52bc71fa46c46a004
parentdd4f41c3775d2d554849efffc0cd5ef7e806d4a1
Better debug info for inlined functions.

* dwarf2out.c (add_call_src_coords_attributes): New.
(gen_inlined_subroutine_die): Call it.
(maybe_emit_file, init_file_table): Add comments.
(prune_unused_types_walk_attribs): Pass DW_AT_call_file through
maybe_emit_file.
* tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION.
(expand_call_inline): Set BLOCK_SOURCE_LOCATION.
* tree.h (BLOCK_SOURCE_LOCATION): New.
(struct tree_block): New field locus.

From-SVN: r102379
gcc/ChangeLog
gcc/dwarf2out.c
gcc/tree-inline.c
gcc/tree.h