|
LLVM 22.0.0git
|
#include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
Public Member Functions | |
| TypeRecordMapping (BinaryStreamReader &Reader) | |
| TypeRecordMapping (BinaryStreamWriter &Writer) | |
| TypeRecordMapping (CodeViewRecordStreamer &Streamer) | |
| Error | visitTypeBegin (CVType &Record) override |
| Paired begin/end actions for all types. | |
| Error | visitTypeBegin (CVType &Record, TypeIndex Index) override |
| Error | visitTypeEnd (CVType &Record) override |
| Error | visitMemberBegin (CVMemberRecord &Record) override |
| Error | visitMemberEnd (CVMemberRecord &Record) override |
| 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. | |
| virtual Error | visitUnknownMember (CVMemberRecord &Record) |
Definition at line 27 of file TypeRecordMapping.h.
|
inlineexplicit |
Definition at line 29 of file TypeRecordMapping.h.
|
inlineexplicit |
Definition at line 30 of file TypeRecordMapping.h.
|
inlineexplicit |
Definition at line 31 of file TypeRecordMapping.h.
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 274 of file TypeRecordMapping.cpp.
References assert(), ContinuationLength, error, getLeafTypeName(), LeafTypeNames, llvm::codeview::MaxRecordLength, and llvm::Error::success().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 300 of file TypeRecordMapping.cpp.
References assert(), llvm::codeview::EC, error, and llvm::Error::success().
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. Exactly one of the two visitTypeBegin methods will be called, depending on whether records are being visited sequentially or randomly. An implementation should be prepared to handle both (or assert if it can't handle random access visitation).
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 232 of file TypeRecordMapping.cpp.
References llvm::ArrayRef(), assert(), error, llvm::codeview::CVRecord< Kind >::kind(), LeafTypeNames, llvm::codeview::CVRecord< Kind >::length(), llvm::codeview::MaxRecordLength, and llvm::Error::success().
Referenced by llvm::codeview::SimpleTypeSerializer::serialize(), and visitTypeBegin().
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 257 of file TypeRecordMapping.cpp.
References getLeafTypeName(), llvm::codeview::CVRecord< Kind >::kind(), llvm::utohexstr(), and visitTypeBegin().
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 264 of file TypeRecordMapping.cpp.
References assert(), error, and llvm::Error::success().
Referenced by llvm::codeview::SimpleTypeSerializer::serialize().