diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-08-16 20:42:14 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-08-16 20:42:14 +0000 |
commit | d4e106e39d155cc6fd8efb3364d20e3a77673165 (patch) | |
tree | ffdae1ddc218ce3569d33f62c1b9f2734ef0bf59 /llvm/lib/CodeGen | |
parent | 9eddbbd563629fbb11d5d1840194fa46132ddca4 (diff) | |
download | bcm5719-llvm-d4e106e39d155cc6fd8efb3364d20e3a77673165.tar.gz bcm5719-llvm-d4e106e39d155cc6fd8efb3364d20e3a77673165.zip |
DebugInfo: Allow the addition of other (such as static data) members to a record type after construction
Plus a type cleanup & minor fix to enumerate members of declarations.
llvm-svn: 188577
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 803a35d9e4c..3d2c1b8868e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -981,9 +981,6 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) { case dwarf::DW_TAG_structure_type: case dwarf::DW_TAG_union_type: case dwarf::DW_TAG_class_type: { - if (CTy.isForwardDecl()) - break; - // Add elements to structure type. DIArray Elements = CTy.getTypeArray(); for (unsigned i = 0, N = Elements.getNumElements(); i < N; ++i) { |