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

Inherited from TypeVisitorCallbacks:

Methods

TypeVisitorCallbackPipeline()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:23

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)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:65

Parameters

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)

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)

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)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h:57

Parameters

llvm::codeview::CVType& 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)

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