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

            Bug ID: 28251
           Summary: [codeview] Emit S_UDT and LF_UDT_SRC_LINE records for
                    complete struct types
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedb...@nondot.org
          Reporter: r...@google.com
                CC: llvm-bugs@lists.llvm.org
            Blocks: 28154
    Classification: Unclassified

As we emit type indices, we should write down all the complete record types
that we see so we can emit them at the end. Right now the only thing that will
trigger the emission of a complete type is when it is used directly as a local
or global variable, but there are many ways to require a type to be complete.
Consider pointers:

struct A {int a;};
int f(A *p) { return p->a; }

We only emit a forward reference for A now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to