[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/21630] [dodji/kabidiff branch] A this pointer DIE can be const



https://sourceware.org/bugzilla/show_bug.cgi?id=21630

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|[dodji/kabidiff branch]     |[dodji/kabidiff branch] A
                   |fedabipkgdiff               |this pointer DIE can be
                   |--self-compare fails on     |const
                   |thunderbird in fc25         |

--- Comment #1 from dodji at redhat dot com ---
>From what I have usually seen emitted by GCC, a "this pointer" is represented
by a DW_TAG_pointer_type.  If the "this pointer" is for a const method, then it
points to a const class type DIE.

But in, in this problem report, I am seeing a "this pointer" represented by a
DW_TAG_const_type that points to a DW_TAG_pointer_type, which is itself points
to a class type DIE.

The code of die_this_pointer_is_const needs to be adjusted so that it doesn't
expect only a DW_TAG_pointer_type.

-- 
You are receiving this mail because:
You are on the CC list for the bug.