diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-11-08 22:07:46 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-11-08 22:07:46 +0100 |
commit | 9eb4015a4aa7ac6585ab7749d65dbb5823e41f19 (patch) | |
tree | b9d5aa6dec87e9d425f456603496a28ee2122a5d /gcc/stringpool.c | |
parent | 944effb637cc9756bbce3c702bd79bca39a0575c (diff) | |
download | gcc-9eb4015a4aa7ac6585ab7749d65dbb5823e41f19.zip gcc-9eb4015a4aa7ac6585ab7749d65dbb5823e41f19.tar.gz gcc-9eb4015a4aa7ac6585ab7749d65dbb5823e41f19.tar.bz2 |
dwarf2out.c (debug_str_hash): New.
* 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.
From-SVN: r46858
Diffstat (limited to 'gcc/stringpool.c')
0 files changed, 0 insertions, 0 deletions