DebugInfo: Update caller based on DIType's MDNode* ctor becoming explicit in r195055.
llvm-svn: 195056
This commit is contained in:
parent
4f6bf27ae4
commit
ba4773659b
|
@ -2258,7 +2258,8 @@ llvm::DICompositeType CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
|
||||||
} else
|
} else
|
||||||
RealDecl = DBuilder.createStructType(RDContext, RDName, DefUnit, Line,
|
RealDecl = DBuilder.createStructType(RDContext, RDName, DefUnit, Line,
|
||||||
Size, Align, 0, llvm::DIType(),
|
Size, Align, 0, llvm::DIType(),
|
||||||
llvm::DIArray(), 0, 0, FullName);
|
llvm::DIArray(), 0, llvm::DIType(),
|
||||||
|
FullName);
|
||||||
|
|
||||||
RegionMap[Ty->getDecl()] = llvm::WeakVH(RealDecl);
|
RegionMap[Ty->getDecl()] = llvm::WeakVH(RealDecl);
|
||||||
TypeCache[QualType(Ty, 0).getAsOpaquePtr()] = RealDecl;
|
TypeCache[QualType(Ty, 0).getAsOpaquePtr()] = RealDecl;
|
||||||
|
|
Loading…
Reference in New Issue