[llvm-bugs] [Bug 30224] New: [codeview] Clang should emit an artifical vbptr member similar to the existing _vptr member for vfptrs

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 31 09:39:43 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30224

            Bug ID: 30224
           Summary: [codeview] Clang should emit an artifical vbptr member
                    similar to the existing _vptr member for vfptrs
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The goal is to get correct VBPtrOffset values in the VirtualBaseClass type
records. My understanding is that all virtual bases should appear in the same
primary vbtable of the most derived class, so these offsets should all be the
same. That's why it makes sense to me to encode this as an artificial member,
instead of trying to augment DW_TAG_inheritance with an extra integer.

-- 
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/20160831/dce11285/attachment.html>


More information about the llvm-bugs mailing list