summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-16 20:42:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-16 20:42:14 +0000
commitd4e106e39d155cc6fd8efb3364d20e3a77673165 (patch)
treeffdae1ddc218ce3569d33f62c1b9f2734ef0bf59 /llvm/lib/CodeGen
parent9eddbbd563629fbb11d5d1840194fa46132ddca4 (diff)
downloadbcm5719-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.cpp3
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) {
OpenPOWER on IntegriCloud