Fix debug info to build with llvm r284678.

This is likely not the full solution, since it does not add the
alignment for DIVariables.
This commit is contained in:
Bob Wilson
2016-10-25 18:07:04 -07:00
parent 9d1f85b517
commit a4e5bb6d3f

View File

@@ -1760,8 +1760,7 @@ llvm::DIType *IRGenDebugInfo::createType(DebugTypeInfo DbgTy,
llvm::errs() << "\n");
MangledName = "<unknown>";
}
return DBuilder.createBasicType(MangledName, SizeInBits, AlignInBits,
Encoding);
return DBuilder.createBasicType(MangledName, SizeInBits, Encoding);
}
/// Determine if there exists a name mangling for the given type.