]> granicus.if.org Git - clang/commitdiff
DebugInfo: Update caller based on DIType's MDNode* ctor becoming explicit in r195055.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 18 Nov 2013 23:38:26 +0000 (23:38 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 18 Nov 2013 23:38:26 +0000 (23:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195056 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index 9b131fd10e93e245c8d7fe5f579ae64febf3e9ab..fcb26f0da61531781162f93e8f6eded2ef7bf81a 100644 (file)
@@ -2258,7 +2258,8 @@ llvm::DICompositeType CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
   } else
     RealDecl = DBuilder.createStructType(RDContext, RDName, DefUnit, Line,
                                          Size, Align, 0, llvm::DIType(),
-                                         llvm::DIArray(), 0, 0, FullName);
+                                         llvm::DIArray(), 0, llvm::DIType(),
+                                         FullName);
 
   RegionMap[Ty->getDecl()] = llvm::WeakVH(RealDecl);
   TypeCache[QualType(Ty, 0).getAsOpaquePtr()] = RealDecl;