]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/dwarf2out.c
dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
authorRichard Henderson <rth@redhat.com>
Wed, 1 Nov 2000 00:12:15 +0000 (16:12 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 Nov 2000 00:12:15 +0000 (16:12 -0800)
commitd8041cc89f1e72d6a67de3c152f0f5f758c7d507
tree47f8dbc1dff7fcae119b12e1e6c74faacd3b3864
parent86368122e68f2b697cf898523d408bea831fa6e7
dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.

        * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
        (size_of_locs): Set it.
        (output_loc_operands): Use it to compute branch displacement.
        (int_loc_descriptor): New.
        (mem_loc_descriptor): Dereference memory in the proper size.
        Use DW_OP_plus_uconst when possible.  Use int_loc_descriptor.
        (loc_descriptor_from_tree): New.
        (rtl_for_decl_location): Break out from ...
        (add_location_or_const_value_attribute): ... here.
        (add_bound_info): Use loc_descriptor_from_tree.

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