class TypeVisitorCallbackPipeline
Declaration
class TypeVisitorCallbackPipeline : public TypeVisitorCallbacks { /* full declaration omitted */ };
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:21
Inherits from: TypeVisitorCallbacks
Method Overview
- public TypeVisitorCallbackPipeline()
- public void addCallbackToPipeline(llvm::codeview::TypeVisitorCallbacks & Callbacks)
- public llvm::Error visitMemberBegin(llvm::codeview::CVMemberRecord & Record)
- public llvm::Error visitMemberEnd(llvm::codeview::CVMemberRecord & Record)
- public llvm::Error visitTypeBegin(llvm::codeview::CVType & Record)
- public llvm::Error visitTypeBegin(llvm::codeview::CVType & Record, llvm::codeview::TypeIndex Index)
- public llvm::Error visitTypeEnd(llvm::codeview::CVType & Record)
- public llvm::Error visitUnknownMember(llvm::codeview::CVMemberRecord & Record)
- public llvm::Error visitUnknownType(CVRecord<llvm::codeview::TypeLeafKind> & Record)
Inherited from TypeVisitorCallbacks:
- public visitMemberBegin
- public visitMemberEnd
- public visitTypeBegin
- public visitTypeBegin
- public visitTypeEnd
- public visitUnknownMember
- public visitUnknownType
Methods
¶TypeVisitorCallbackPipeline()
TypeVisitorCallbackPipeline()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:23
¶void addCallbackToPipeline(
llvm::codeview::TypeVisitorCallbacks&
Callbacks)
void addCallbackToPipeline(
llvm::codeview::TypeVisitorCallbacks&
Callbacks)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:81
Parameters
- llvm::codeview::TypeVisitorCallbacks& Callbacks
¶llvm::Error visitMemberBegin(
llvm::codeview::CVMemberRecord& Record)
llvm::Error visitMemberBegin(
llvm::codeview::CVMemberRecord& Record)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:65
Parameters
- llvm::codeview::CVMemberRecord& Record
¶llvm::Error visitMemberEnd(
llvm::codeview::CVMemberRecord& Record)
llvm::Error visitMemberEnd(
llvm::codeview::CVMemberRecord& Record)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:73
Parameters
- llvm::codeview::CVMemberRecord& Record
¶llvm::Error visitTypeBegin(
llvm::codeview::CVType& Record)
llvm::Error visitTypeBegin(
llvm::codeview::CVType& Record)
Description
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).
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:41
Parameters
- llvm::codeview::CVType& Record
¶llvm::Error visitTypeBegin(
llvm::codeview::CVType& Record,
llvm::codeview::TypeIndex Index)
llvm::Error visitTypeBegin(
llvm::codeview::CVType& Record,
llvm::codeview::TypeIndex Index)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:49
Parameters
- llvm::codeview::CVType& Record
- llvm::codeview::TypeIndex Index
¶llvm::Error visitTypeEnd(
llvm::codeview::CVType& Record)
llvm::Error visitTypeEnd(
llvm::codeview::CVType& Record)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:57
Parameters
- llvm::codeview::CVType& Record
¶llvm::Error visitUnknownMember(
llvm::codeview::CVMemberRecord& Record)
llvm::Error visitUnknownMember(
llvm::codeview::CVMemberRecord& Record)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:33
Parameters
- llvm::codeview::CVMemberRecord& Record
¶llvm::Error visitUnknownType(
CVRecord<llvm::codeview::TypeLeafKind>&
Record)
llvm::Error visitUnknownType(
CVRecord<llvm::codeview::TypeLeafKind>&
Record)
Description
Action to take on unknown types. By default, they are ignored.
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:25
Parameters
- CVRecord<llvm::codeview::TypeLeafKind>& Record