git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2014-03-14 23:08:17 +00:00
parent 6fb117d939
commit be4056d0a5

View File

@ -974,7 +974,7 @@ DIE *DwarfUnit::getOrCreateTypeDIE(const MDNode *TyNode) {
if (GenerateDwarfTypeUnits && !Ty.isForwardDecl())
if (MDString *TypeId = CTy.getIdentifier()) {
DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy);
// Skip updating the accellerator tables since this is not the full type
// Skip updating the accelerator tables since this is not the full type.
return TyDIE;
}
constructTypeDIE(*TyDIE, CTy);