LLVM: include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h Source File (original) (raw)
30public:
32 bool PrintRecordBytes)
33 : W(W), PrintRecordBytes(PrintRecordBytes), TpiTypes(TpiTypes) {}
34
35
36
37
38
40
42
44
45
48
49
50
56
57#define TYPE_RECORD(EnumName, EnumVal, Name) \
58 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
59#define MEMBER_RECORD(EnumName, EnumVal, Name) \
60 Error visitKnownMember(CVMemberRecord &CVR, Name##Record &Record) override;
61#define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
62#define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName)
63#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"
64
65private:
66 void printMemberAttributes(MemberAttributes Attrs);
67 void printMemberAttributes(MemberAccess Access, MethodKind Kind,
69
70
71
72
73 TypeCollection &getSourceTypes() const {
74 return IpiTypes ? *IpiTypes : TpiTypes;
75 }
76
77 ScopedPrinter *W;
78
79 bool PrintRecordBytes = false;
80
81 TypeCollection &TpiTypes;
82 TypeCollection *IpiTypes = nullptr;
83};