OSDN Git Service

Better debug info for inlined functions.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jul 2005 02:56:44 +0000 (02:56 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jul 2005 02:56:44 +0000 (02:56 +0000)
commit442769015c7c50ca6cf327e1da232ab25e79012c
tree21c55286c5bc2b5af118cad52bc71fa46c46a004
parentd9a1309008f2590a1fcd70aac4f32b600006837f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102379 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/tree-inline.c
gcc/tree.h