1 //===- TypeStreamMerger.h ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPESTREAMMERGER_H
11 #define LLVM_DEBUGINFO_CODEVIEW_TYPESTREAMMERGER_H
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/ADT/SmallVector.h"
15 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
16 #include "llvm/Support/Error.h"
22 class TypeServerHandler;
23 class TypeTableBuilder;
25 /// Merges one type stream into another. Returns true on success.
26 Error mergeTypeStreams(TypeTableBuilder &DestIdStream,
27 TypeTableBuilder &DestTypeStream,
28 SmallVectorImpl<TypeIndex> &SourceToDest,
29 TypeServerHandler *Handler, const CVTypeArray &Types);
31 } // end namespace codeview
32 } // end namespace llvm
34 #endif // LLVM_DEBUGINFO_CODEVIEW_TYPESTREAMMERGER_H