dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use…
dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of... * dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of DW_OP_implicit_value. (add_const_value_attribute): For CONST_STRING, SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value DW_AT_location instead of DW_AT_const_value. * gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value, but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value. Add -gno-strict-dwarf -fno-merge-debug-strings to dg-options. * g++.dg/debug/dwarf2/const1.C: Likewise. * g++.dg/debug/dwarf2/template-params-3.C: Likewise. * g++.dg/debug/dwarf2/template-func-params-3.C: Likewise. From-SVN: r155327
Showing
Please
register
or
sign in
to comment