[llvm-bugs] [Bug 28152] New: [codeview] Include nested classes in the class member list, at least when generating codeview

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 15 17:42:07 PDT 2016


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

            Bug ID: 28152
           Summary: [codeview] Include nested classes in the class member
                    list, at least when generating codeview
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

MSVC records information about nested classes in its equivalent of our member
list. We should do the same.

The existing DI representation encodes this information with a parent scope
pointer, but that information is only present when we bother to emit
information about the nested type. In this example, 'Nested' is not mentioned
anywhere in our debug info:
struct A { struct Nested {}; } a;

We want our member lists for any given type to always be the same so that the
type records are bitwise identical across TUs. IMO we should go ahead and add
nested classes to the member list.

-- 
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/20160616/7310c2c5/attachment.html>


More information about the llvm-bugs mailing list