2013-04-24 Sterling Augustine <saugustine@google.com>
authorSterling Augustine <saugustine@google.com>
Wed, 24 Apr 2013 17:19:47 +0000 (17:19 +0000)
committerSterling Augustine <sterling@gcc.gnu.org>
Wed, 24 Apr 2013 17:19:47 +0000 (17:19 +0000)
commit3362b6b69a03838ab3d36d517d44addc1405d1f9
treeac6ab6bae3b76d544778a1282901baa9f189a6ef
parente93e18e9f781043b5d579c357fa7a9fe9d549aef
2013-04-24  Sterling Augustine  <saugustine@google.com>

* dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string)
(comp_dir_string, debug_str_dwo_section): New.
(DEBUG_STR_DWO_SECTION): Rename to ...
(DEBUG_DWO_STR_SECTION): ... this.
(DEBUG_NORM_STR_SECTION): Delete.
(DEBUG_STR_SECTION, DEBUG_STR_SECTION_FLAGS): Edit definitions.
(DEBUG_STR_DWO_SECTION_FLAGS): New.
(find_AT_string): Move most logic to ...
(find_AT_string_in_table): ... here.  New.
(add_top_level_skeleton_die_attrs): Call comp_dir_string and
add_skeleton_AT_string.  Delete logic.
(output_skeleton_debug_sections): Remove call to
add_top_level_skeleton_die_attrs.
(add_comp_dir_attribute): Move logic to comp_dir_string.
(dwarf2out_init): Initialize debug_str_dwo_section.
(output_indirect_string): Call find_string_form.
(output_indirect_strings): Rewrite.
(prune_unused_types): Empty skeleton_debug_str_hash.
Call get_skeleton_type_unit and add_top_level_skeleton_die_attrs.
(dwarf2out_finish):  Call output_indirect_strings.

From-SVN: r198259
gcc/ChangeLog
gcc/dwarf2out.c