too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150974
91177308-0d34-0410-b5e6-
96231b3b80d8
if (isBasicType())
DIBasicType(DbgNode).print(OS);
if (isBasicType())
DIBasicType(DbgNode).print(OS);
- else if (isDerivedType())
- DIDerivedType(DbgNode).print(OS);
+ else if (isDerivedType()) {
+ DIDerivedType DTy = DIDerivedType(DbgNode);
+ DTy.print(OS);
+ DICompositeType CTy = getDICompositeType(DTy);
+ if (CTy.Verify())
+ CTy.print(OS);
+ }
else if (isCompositeType())
DICompositeType(DbgNode).print(OS);
else {
else if (isCompositeType())
DICompositeType(DbgNode).print(OS);
else {