LLVM  4.0.0
Public Member Functions | List of all members
llvm::codeview::TypeDatabaseVisitor Class Reference

Dumper for CodeView type streams found in COFF object files and PDB files. More...

#include <TypeDatabaseVisitor.h>

Inheritance diagram for llvm::codeview::TypeDatabaseVisitor:
[legend]
Collaboration diagram for llvm::codeview::TypeDatabaseVisitor:
[legend]

Public Member Functions

 TypeDatabaseVisitor (TypeDatabase &TypeDB)
 
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
 

Detailed Description

Dumper for CodeView type streams found in COFF object files and PDB files.

Definition at line 22 of file TypeDatabaseVisitor.h.

Constructor & Destructor Documentation

llvm::codeview::TypeDatabaseVisitor::TypeDatabaseVisitor ( TypeDatabase TypeDB)
inlineexplicit

Definition at line 24 of file TypeDatabaseVisitor.h.

Member Function Documentation

llvm::codeview::TypeDatabaseVisitor::MEMBER_RECORD_ALIAS ( LF_IVBCLASS  ,
0x1402  ,
IndirectVirtualBaseClass  ,
VirtualBaseClass   
)
Error TypeDatabaseVisitor::visitMemberBegin ( CVMemberRecord Record)
overridevirtual

Reimplemented from llvm::codeview::TypeVisitorCallbacks.

Definition at line 46 of file TypeDatabaseVisitor.cpp.

References assert(), and llvm::Error::success().

Error TypeDatabaseVisitor::visitMemberEnd ( CVMemberRecord Record)
overridevirtual

Reimplemented from llvm::codeview::TypeVisitorCallbacks.

Definition at line 53 of file TypeDatabaseVisitor.cpp.

References assert(), and llvm::Error::success().

Error TypeDatabaseVisitor::visitTypeBegin ( CVType Record)
overridevirtual

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 18 of file TypeDatabaseVisitor.cpp.

References assert(), llvm::Error::success(), and llvm::codeview::CVRecord< Kind >::Type.

Error TypeDatabaseVisitor::visitTypeEnd ( CVType Record)
overridevirtual

The documentation for this class was generated from the following files: