This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc debug.h debug.c dbxout.c dwarf2out.c d ...
- From: dberlin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 25 Mar 2002 17:12:12 -0000
- Subject: gcc/gcc debug.h debug.c dbxout.c dwarf2out.c d ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: cfg-branch
Changes by: dberlin@gcc.gnu.org 2002-03-25 09:12:12
Modified files:
gcc : debug.h debug.c dbxout.c dwarf2out.c dwarfout.c
sdbout.c vmsdbgout.c toplev.c final.c
ChangeLog.cfg Makefile.in ggc-common.c
print-rtl.c rtl.c rtl.def rtl.h timevar.def
Added files:
gcc : var-tracking.c
Log message:
2002-03-25 Daniel Berlin <dan@dberlin.org>
* ggc-common.c (ggc_mark_rtx_children): Mark pieces of
NOTE_VAR_LOCATION properly.
* final.c (final_scan_insn): Call var_location hook when we see a
NOTE_VAR_LOCATION.
* debug.h (struct gcc_debug_hooks): Add new var_location hook.
*out.c: Add empty var_location hook to end of debug hooks struct.
* dwarf2out.c (dwarf2_debug_hooks): Add dwarf2out_begin_function,
dwarf2out_var_location.
(struct var_loc_node): New struct, for keeping track of variable
locations.
(lookup_decl_loc): New function, lookup a decl's var_loc list.
(add_var_loc_to_decl): New function, add a variable location to a
decl.
(output_loc_list): No longer need base selection entries, since
we force CU base address to 0 when there is code in more than one
section.
(loc_descriptor): Handle VAR_LOCATION.
(add_location_or_const_value_attribute): Add code to lookup and
use var_location's to generate location lists.
(dwarf2out_var_location): New function.
(dwarf2out_begin_function): New function.
(dwarf2out_init): Allocate location lookup table.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/var-tracking.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/debug.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.7.12.3&r2=1.7.12.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/debug.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.7.12.2&r2=1.7.12.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dbxout.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.108.2.8&r2=1.108.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.328.2.13&r2=1.328.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarfout.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.103.2.5&r2=1.103.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/sdbout.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.61.2.5&r2=1.61.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/vmsdbgout.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.6.2.6&r2=1.6.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.537.2.54&r2=1.537.2.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.220.2.12&r2=1.220.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.cfg.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.1.2.114&r2=1.1.2.115
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.775.2.31&r2=1.775.2.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc-common.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.45.2.2&r2=1.45.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/print-rtl.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.71.2.5&r2=1.71.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.103.2.8&r2=1.103.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.def.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.50.2.5&r2=1.50.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtl.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.312.2.21&r2=1.312.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/timevar.def.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.12.2.4&r2=1.12.2.5