|
LLVM
4.0.0
|
#include <TypeRecordMapping.h>
Public Member Functions | |
| TypeRecordMapping (msf::StreamReader &Reader) | |
| TypeRecordMapping (msf::StreamWriter &Writer) | |
| Error | visitTypeBegin (CVType &Record) override |
| Paired begin/end actions for all types. More... | |
| Error | visitTypeEnd (CVType &Record) override |
| Error | visitMemberBegin (CVMemberRecord &Record) override |
| Error | visitMemberEnd (CVMemberRecord &Record) override |
| MEMBER_RECORD_ALIAS (LF_IVBCLASS, 0x1402, IndirectVirtualBaseClass, VirtualBaseClass) CV_TYPE(LF_NULLLEAF | |
Public Member Functions inherited from llvm::codeview::TypeVisitorCallbacks | |
| virtual | ~TypeVisitorCallbacks ()=default |
| virtual Error | visitUnknownType (CVType &Record) |
| Action to take on unknown types. By default, they are ignored. More... | |
| virtual Error | visitUnknownMember (CVMemberRecord &Record) |
| MEMBER_RECORD_ALIAS (LF_IVBCLASS, 0x1402, IndirectVirtualBaseClass, VirtualBaseClass) CV_TYPE(LF_NULLLEAF | |
Definition at line 24 of file TypeRecordMapping.h.
|
inlineexplicit |
Definition at line 26 of file TypeRecordMapping.h.
|
inlineexplicit |
Definition at line 27 of file TypeRecordMapping.h.
| llvm::codeview::TypeRecordMapping::MEMBER_RECORD_ALIAS | ( | LF_IVBCLASS | , |
| 0x1402 | , | ||
| IndirectVirtualBaseClass | , | ||
| VirtualBaseClass | |||
| ) |
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 113 of file TypeRecordMapping.cpp.
References assert(), llvm::codeview::CodeViewRecordIO::beginRecord(), error, llvm::Optional< T >::hasValue(), llvm::codeview::CVMemberRecord::Kind, llvm::codeview::MaxRecordLength, and llvm::Error::success().
Referenced by llvm::codeview::TypeSerializer::visitMemberBegin().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 129 of file TypeRecordMapping.cpp.
References assert(), llvm::codeview::EC, llvm::codeview::CodeViewRecordIO::endRecord(), error, llvm::Optional< T >::hasValue(), llvm::codeview::CodeViewRecordIO::isWriting(), llvm::Optional< T >::reset(), llvm::codeview::CodeViewRecordIO::skipPadding(), and llvm::Error::success().
Referenced by llvm::codeview::TypeSerializer::visitMemberEnd().
Paired begin/end actions for all types.
Receives all record data, including the fixed-length record prefix. visitTypeBegin() should return the type of the Record, or an error if it cannot be determined.
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 87 of file TypeRecordMapping.cpp.
References assert(), llvm::codeview::CodeViewRecordIO::beginRecord(), error, llvm::Optional< T >::hasValue(), llvm::codeview::MaxRecordLength, llvm::Error::success(), and llvm::codeview::CVRecord< Kind >::Type.
Referenced by llvm::codeview::TypeSerializer::visitTypeBegin().
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 103 of file TypeRecordMapping.cpp.
References assert(), llvm::codeview::CodeViewRecordIO::endRecord(), error, llvm::Optional< T >::hasValue(), and llvm::Error::success().
Referenced by llvm::codeview::TypeSerializer::visitTypeEndGetIndex().
1.8.6