This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
egcs/gcc ChangeLog dwarf2out.c
- To: gcc-cvs at gcc dot gnu dot org
- Subject: egcs/gcc ChangeLog dwarf2out.c
- From: jakub at gcc dot gnu dot org
- Date: 8 Nov 2001 21:07:48 -0000
CVSROOT: /cvs/gcc
Module name: egcs
Changes by: jakub@gcc.gnu.org 2001-11-08 13:07:47
Modified files:
gcc : ChangeLog dwarf2out.c
Log message:
* dwarf2out.c (debug_str_hash): New.
(struct indirect_string_node): New.
(struct dw_val_struct): Change type of val_str to it.
(DEBUG_STR_SECTION_FLAGS): Define.
(add_AT_string): Push string into hashtable, increment reference
counter.
(AT_string): Return string from ht_identifier.
(AT_string_form): New.
(free_AT): For dw_val_class_str, just decrement reference counter.
(size_of_string): Remove.
(size_of_die): Use AT_string_form to decide what size the string
occupies in DIE.
(size_of_pubnames): Use strlen instead of size_of_string.
(value_format): Use AT_string_form for dw_val_class_str.
(output_die): Output DW_FORM_strp strings using
dw2_asm_output_offset.
(indirect_string_alloc, output_indirect_string): New.
(dwarf2out_finish): Emit .debug_str strings if there are any.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.11798&r2=1.11799
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.324&r2=1.325