mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user