[llvm-bugs] [Bug 28251] New: [codeview] Emit S_UDT and LF_UDT_SRC_LINE records for complete struct types
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 21 15:57:17 PDT 2016
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: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160621/a01e9ffc/attachment.html>
More information about the llvm-bugs
mailing list