Skip to content

Commit f45edd8

Browse files
committed
[llvm] add template specialization declarations for ContinuationRecordBuilder::writeMemberType
1 parent ed07412 commit f45edd8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "llvm/ADT/ArrayRef.h"
1313
#include "llvm/ADT/SmallVector.h"
1414
#include "llvm/DebugInfo/CodeView/CVRecord.h"
15+
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
1516
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
1617
#include "llvm/Support/BinaryByteStream.h"
1718
#include "llvm/Support/BinaryStreamWriter.h"
@@ -50,6 +51,19 @@ class ContinuationRecordBuilder {
5051

5152
std::vector<CVType> end(TypeIndex Index);
5253
};
54+
55+
#define TYPE_RECORD(EnumName, EnumVal, Name)
56+
#define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
57+
#define MEMBER_RECORD(EnumName, EnumVal, Name) \
58+
extern template void ContinuationRecordBuilder::writeMemberType( \
59+
Name##Record &Record);
60+
#define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
61+
#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"
62+
#undef TYPE_RECORD
63+
#undef TYPE_RECORD_ALIAS
64+
#undef MEMBER_RECORD
65+
#undef MEMBER_RECORD_ALIAS
66+
5367
} // namespace codeview
5468
} // namespace llvm
5569

0 commit comments

Comments
 (0)