ΒΆllvm::Error mergeTypeRecords(
llvm::codeview::MergingTypeTableBuilder& Dest,
SmallVectorImpl<llvm::codeview::TypeIndex>&
SourceToDest,
const llvm::codeview::CVTypeArray& Types)
llvm::Error mergeTypeRecords(
llvm::codeview::MergingTypeTableBuilder& Dest,
SmallVectorImpl<llvm::codeview::TypeIndex>&
SourceToDest,
const llvm::codeview::CVTypeArray& Types)
Description
Merge one set of type records into another. This method assumes that all records are type records, and there are no Id records present.
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h:38
Parameters
- llvm::codeview::MergingTypeTableBuilder& Dest
- The table to store the re-written type records into.
- SmallVectorImpl<llvm::codeview::TypeIndex>& SourceToDest
- A vector, indexed by the TypeIndex in the source type stream, that contains the index of the corresponding type record in the destination stream.
- const llvm::codeview::CVTypeArray& Types
- The collection of types to merge in.
Returns
Error::success() if the operation succeeded, otherwise an appropriate error code.