10 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPESTREAMMERGER_H 11 #define LLVM_DEBUGINFO_CODEVIEW_TYPESTREAMMERGER_H 22 struct GloballyHashedType;
23 class GlobalTypeTableBuilder;
24 class MergingTypeTableBuilder;
40 SmallVectorImpl<TypeIndex> &SourceToDest,
65 SmallVectorImpl<TypeIndex> &SourceToDest,
84 MergingTypeTableBuilder &DestTypes,
85 SmallVectorImpl<TypeIndex> &SourceToDest,
87 Optional<uint32_t> &PCHSignature);
90 GlobalTypeTableBuilder &DestTypes,
91 SmallVectorImpl<TypeIndex> &SourceToDest,
93 ArrayRef<GloballyHashedType> Hashes,
94 Optional<uint32_t> &PCHSignature);
97 SmallVectorImpl<TypeIndex> &SourceToDest,
99 ArrayRef<GloballyHashedType> Hashes,
100 Optional<uint32_t> &PCHSignature);
103 SmallVectorImpl<TypeIndex> &SourceToDest,
105 ArrayRef<GloballyHashedType> Hashes);
110 #endif // LLVM_DEBUGINFO_CODEVIEW_TYPESTREAMMERGER_H This class represents lattice values for constants.
VarStreamArray< CVType > CVTypeArray
Error mergeTypeRecords(MergingTypeTableBuilder &Dest, SmallVectorImpl< TypeIndex > &SourceToDest, const CVTypeArray &Types)
Merge one set of type records into another.
Error mergeTypeAndIdRecords(MergingTypeTableBuilder &DestIds, MergingTypeTableBuilder &DestTypes, SmallVectorImpl< TypeIndex > &SourceToDest, const CVTypeArray &IdsAndTypes, Optional< uint32_t > &PCHSignature)
Merge a unified set of type and id records, splitting them into separate output streams.
Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef< TypeIndex > Types, SmallVectorImpl< TypeIndex > &SourceToDest, const CVTypeArray &Ids)
Merge one set of id records into another.