|
LLVM
4.0.0
|
Dumper for CodeView type streams found in COFF object files and PDB files. More...
#include <TypeDumpVisitor.h>
Public Member Functions | |
| TypeDumpVisitor (TypeDatabase &TypeDB, ScopedPrinter *W, bool PrintRecordBytes) | |
| void | printTypeIndex (StringRef FieldName, TypeIndex TI) const |
| Error | visitUnknownType (CVType &Record) override |
| Action to take on unknown types. By default, they are ignored. More... | |
| Error | visitUnknownMember (CVMemberRecord &Record) override |
| 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 |
| MEMBER_RECORD_ALIAS (LF_IVBCLASS, 0x1402, IndirectVirtualBaseClass, VirtualBaseClass) CV_TYPE(LF_NULLLEAF | |
Dumper for CodeView type streams found in COFF object files and PDB files.
Definition at line 26 of file TypeDumpVisitor.h.
|
inline |
Definition at line 28 of file TypeDumpVisitor.h.
| llvm::codeview::TypeDumpVisitor::MEMBER_RECORD_ALIAS | ( | LF_IVBCLASS | , |
| 0x1402 | , | ||
| IndirectVirtualBaseClass | , | ||
| VirtualBaseClass | |||
| ) |
Definition at line 162 of file TypeDumpVisitor.cpp.
References llvm::codeview::CVTypeDumper::printTypeIndex().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 186 of file TypeDumpVisitor.cpp.
References getLeafTypeName(), llvm::ScopedPrinter::getOStream(), llvm::ScopedPrinter::indent(), llvm::codeview::CVMemberRecord::Kind, LeafTypeNames, llvm::makeArrayRef(), llvm::ScopedPrinter::printEnum(), llvm::ScopedPrinter::startLine(), and llvm::Error::success().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 195 of file TypeDumpVisitor.cpp.
References llvm::codeview::CVMemberRecord::Data, llvm::codeview::getBytesAsCharacters(), llvm::ScopedPrinter::printBinaryBlock(), llvm::ScopedPrinter::startLine(), llvm::Error::success(), and llvm::ScopedPrinter::unindent().
Paired begin/end actions for all types.
Receives all record data, including the fixed-length record prefix.
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 166 of file TypeDumpVisitor.cpp.
References llvm::codeview::TypeIndex::getIndex(), getLeafTypeName(), llvm::codeview::TypeDatabase::getNextTypeIndex(), llvm::ScopedPrinter::getOStream(), llvm::ScopedPrinter::indent(), LeafTypeNames, llvm::makeArrayRef(), llvm::ScopedPrinter::printEnum(), llvm::ScopedPrinter::startLine(), llvm::Error::success(), and llvm::codeview::CVRecord< Kind >::Type.
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 177 of file TypeDumpVisitor.cpp.
References llvm::codeview::CVRecord< Kind >::content(), llvm::codeview::getBytesAsCharacters(), llvm::ScopedPrinter::printBinaryBlock(), llvm::ScopedPrinter::startLine(), llvm::Error::success(), and llvm::ScopedPrinter::unindent().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 436 of file TypeDumpVisitor.cpp.
References llvm::codeview::CVMemberRecord::Kind, llvm::ScopedPrinter::printHex(), and llvm::Error::success().
Action to take on unknown types. By default, they are ignored.
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 441 of file TypeDumpVisitor.cpp.
References llvm::codeview::CVRecord< Kind >::content(), llvm::codeview::CVRecord< Kind >::kind(), LeafTypeNames, llvm::makeArrayRef(), llvm::ScopedPrinter::printEnum(), llvm::ScopedPrinter::printNumber(), llvm::ArrayRef< T >::size(), and llvm::Error::success().
1.8.6