forked from OSchip/llvm-project
a7325298e1
When emitting PDBs, the TypeStreamMerger class is used to merge .debug$T records from the input .OBJ files into the output .PDB stream. Records in .OBJs are not required to be aligned on 4-bytes, and "The Netwide Assembler 2.14" generates non-aligned records. When compiling with -DLLVM_ENABLE_ASSERTIONS=ON, an assert was triggered in MergingTypeTableBuilder when non-ghash merging was used. With ghash merging there was no assert. As a result, LLD could potentially generate a non-aligned TPI stream. We now align records on 4-bytes when record indices are remapped, in TypeStreamMerger::remapIndices(). Differential Revision: https://reviews.llvm.org/D75081 |
||
---|---|---|
.. | ||
DIA | ||
Native | ||
CMakeLists.txt | ||
GenericError.cpp | ||
IPDBSourceFile.cpp | ||
LLVMBuild.txt | ||
PDB.cpp | ||
PDBContext.cpp | ||
PDBExtras.cpp | ||
PDBInterfaceAnchors.cpp | ||
PDBSymDumper.cpp | ||
PDBSymbol.cpp | ||
PDBSymbolAnnotation.cpp | ||
PDBSymbolBlock.cpp | ||
PDBSymbolCompiland.cpp | ||
PDBSymbolCompilandDetails.cpp | ||
PDBSymbolCompilandEnv.cpp | ||
PDBSymbolCustom.cpp | ||
PDBSymbolData.cpp | ||
PDBSymbolExe.cpp | ||
PDBSymbolFunc.cpp | ||
PDBSymbolFuncDebugEnd.cpp | ||
PDBSymbolFuncDebugStart.cpp | ||
PDBSymbolLabel.cpp | ||
PDBSymbolPublicSymbol.cpp | ||
PDBSymbolThunk.cpp | ||
PDBSymbolTypeArray.cpp | ||
PDBSymbolTypeBaseClass.cpp | ||
PDBSymbolTypeBuiltin.cpp | ||
PDBSymbolTypeCustom.cpp | ||
PDBSymbolTypeDimension.cpp | ||
PDBSymbolTypeEnum.cpp | ||
PDBSymbolTypeFriend.cpp | ||
PDBSymbolTypeFunctionArg.cpp | ||
PDBSymbolTypeFunctionSig.cpp | ||
PDBSymbolTypeManaged.cpp | ||
PDBSymbolTypePointer.cpp | ||
PDBSymbolTypeTypedef.cpp | ||
PDBSymbolTypeUDT.cpp | ||
PDBSymbolTypeVTable.cpp | ||
PDBSymbolTypeVTableShape.cpp | ||
PDBSymbolUnknown.cpp | ||
PDBSymbolUsingNamespace.cpp | ||
UDTLayout.cpp |