class TypeVisitorCallbacks

Declaration

class TypeVisitorCallbacks { /* full declaration omitted */ };

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:18

Method Overview

Methods

virtual llvm::Error visitMemberBegin(
    llvm::codeview::CVMemberRecord& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:41

Parameters

llvm::codeview::CVMemberRecord& Record

virtual llvm::Error visitMemberEnd(
    llvm::codeview::CVMemberRecord& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:45

Parameters

llvm::codeview::CVMemberRecord& Record

virtual 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/TypeVisitorCallbacks.h:31

Parameters

llvm::codeview::CVType& Record

virtual llvm::Error visitTypeBegin(
    llvm::codeview::CVType& Record,
    llvm::codeview::TypeIndex Index)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:32

Parameters

llvm::codeview::CVType& Record
llvm::codeview::TypeIndex Index

virtual llvm::Error visitTypeEnd(
    llvm::codeview::CVType& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:35

Parameters

llvm::codeview::CVType& Record

virtual llvm::Error visitUnknownMember(
    llvm::codeview::CVMemberRecord& Record)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:37

Parameters

llvm::codeview::CVMemberRecord& Record

virtual llvm::Error visitUnknownType(
    llvm::codeview::CVType& Record)

Description

Action to take on unknown types. By default, they are ignored.

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

Parameters

llvm::codeview::CVType& Record

virtual ~TypeVisitorCallbacks()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:20