diff options
author | Daniel Berlin <dan@cgsoftware.com> | 2001-05-18 15:39:11 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2001-05-18 15:39:11 +0000 |
commit | 63e46568736db84f3c943c44cb6574c261f8220b (patch) | |
tree | 7acb797a40880eff3929b301f68a0fe8e69c0b80 /gcc/dwarfout.c | |
parent | 2b0cbc5d554671be494017c349cb50ceadac407a (diff) | |
download | gcc-63e46568736db84f3c943c44cb6574c261f8220b.zip gcc-63e46568736db84f3c943c44cb6574c261f8220b.tar.gz gcc-63e46568736db84f3c943c44cb6574c261f8220b.tar.bz2 |
dwarf2out.c: Add dw_loc_list_ref, a reference to a location list.
2001-05-18 Daniel Berlin <dan@cgsoftware.com>
* dwarf2out.c: Add dw_loc_list_ref, a reference to a location
list.
Add have_location_lists, a variable to determine whether we need a
.debug_loc section or not.
(enum dw_val_class): Add dw_val_class_loc_list.
(dw_val_struct): Add val_loc_list.
(dw_loc_list_struct): New structure, represents location lists.
(new_loc_list): New function, return a new location list, given
the range and location expression.
(add_loc_descr_to_loc_list): New function, add a location
expression to a location list, given the expression and range.
(output_loc_list): New function, output a location list.
(gen_internal_sym): Modified to take symbol prefix, so we can
reuse it for location list symbols.
(add_AT_loc_list): New function, add a location list to a DIE at
the named attribute.
(AT_loc_list): New function, return the location list reference
for a given attribute, if it's a location list.
(print_die): Handle dw_val_class_loc_list.
(size_of_die): Ditto.
(value_format): Ditto.
(output_die): Ditto.
(output_location_lists): New function, output all of the location
lists for a DIE and it's children.
(dwarf2out_finish): Call output_location_lists if we have location
lists.
From-SVN: r42266
Diffstat (limited to 'gcc/dwarfout.c')
0 files changed, 0 insertions, 0 deletions