On Tue, Nov 01, 2016 at 11:34:47AM -0400, Jason Merrill wrote:
> On Wed, Oct 19, 2016 at 6:15 AM, Alexandre Oliva <aol...@redhat.com> wrote:
> > When a method or a method or function type has a ref-qualifier, output
> > DW_AT_reference or DW_AT_rvalue_reference in the subprogram or
> > subroutine_type tag, as specified in DWARF version 5 drafts, see
> > <http://dwarfstd.org/ShowIssue.php?issue=131105.1>.
> 
> I believe one of Jakub's recent patches has addressed this.  Can you
> verify that with your testcases?

For methods and functions yes, in r241492.

> > Output pointer to member function types as DW_TAG_ptr_to_member_type,
> > as required by DWARF since version 2.
> 
> This should use the existing get_debug_type langhook.

For pointer to member, I've posted an unsuccessful attempt at that today,
http://gcc.gnu.org/ml/gcc-patches/2016-11/msg00022.html
But that wasn't trying to emit DW_TAG_ptr_to_member_type, just
the DW_AT_{,rvalue_}reference on DW_TAG_subroutine_type.

        Jakub

Reply via email to