[llvm-bugs] [Bug 36526] Clang's debug info does not mark 'this' parameters 'const' but GCC and MSVC do

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 20 14:15:16 PST 2018


Zachary Turner <zturner at google.com> changed:

           What    |Removed                     |Added
                 CC|                            |zturner at google.com
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Zachary Turner <zturner at google.com> ---
Fixed by r347353.

Note that it's not actually necessary to add a DW_TAG_const_type on the pointer
types.  They already have DW_at_object_pointer, but even if they didn't, you
can deduce when a pointer is a this pointer when it's the second parameter of
the return-and-argument-types list of a non-static member function.

So we don't need any extra space, and we can still be compatible.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181120/c4bc4ada/attachment-0001.html>

More information about the llvm-bugs mailing list