Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::DIDumpOptions Struct Reference

Container for dump options that control which debug information will be dumped. More...

#include "llvm/DebugInfo/DIContext.h"

Public Member Functions

DIDumpOptions noImplicitRecursion () const
 Return the options with RecurseDepth set to 0 unless explicitly required.

Static Public Member Functions

static DIDumpOptions getForSingleDIE ()
 Return default option set for printing a single DIE without children.

Public Attributes

unsigned DumpType = DIDT_All
unsigned ChildRecurseDepth = -1U
unsigned ParentRecurseDepth = -1U
uint16_t Version = 0
uint8_t AddrSize = 4
bool ShowAddresses = true
bool ShowChildren = false
bool ShowParents = false
bool ShowForm = false
bool SummarizeTypes = false
bool Verbose = false
bool DisplayRawContents = false
bool IsEH = false
bool DumpNonSkeleton = false
bool ShowAggregateErrors = false
bool PrintRegisterOnly = false
std::string JsonErrSummaryFile
std::function< llvm::StringRef(uint64_t DwarfRegNum, bool IsEH)> GetNameForDWARFReg
std::function< void(Error)> RecoverableErrorHandler
std::function< void(Error)> WarningHandler = WithColor::defaultWarningHandler

Detailed Description

Container for dump options that control which debug information will be dumped.

Definition at line 196 of file DIContext.h.

Member Function Documentation

◆ getForSingleDIE()

DIDumpOptions llvm::DIDumpOptions::getForSingleDIE ( )
inlinestatic

Return default option set for printing a single DIE without children.

Definition at line 218 of file DIContext.h.

References ChildRecurseDepth, and ParentRecurseDepth.

Referenced by convertFunctionLineTable().

◆ noImplicitRecursion()

DIDumpOptions llvm::DIDumpOptions::noImplicitRecursion ( ) const
inline

Return the options with RecurseDepth set to 0 unless explicitly required.

Definition at line 226 of file DIContext.h.

References ChildRecurseDepth, ParentRecurseDepth, ShowChildren, and ShowParents.

Referenced by llvm::DWARFContext::dump(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::verifyInput().

Member Data Documentation

◆ AddrSize

uint8_t llvm::DIDumpOptions::AddrSize = 4

Definition at line 201 of file DIContext.h.

◆ ChildRecurseDepth

◆ DisplayRawContents

bool llvm::DIDumpOptions::DisplayRawContents = false

◆ DumpNonSkeleton

bool llvm::DIDumpOptions::DumpNonSkeleton = false

Definition at line 210 of file DIContext.h.

Referenced by llvm::DWARFCompileUnit::dump().

◆ DumpType

unsigned llvm::DIDumpOptions::DumpType = DIDT_All

Definition at line 197 of file DIContext.h.

Referenced by llvm::DWARFContext::dump(), and llvm::DWARFContext::verify().

◆ GetNameForDWARFReg

std::function<llvm::StringRef(uint64_t DwarfRegNum, bool IsEH)> llvm::DIDumpOptions::GetNameForDWARFReg

◆ IsEH

◆ JsonErrSummaryFile

std::string llvm::DIDumpOptions::JsonErrSummaryFile

Definition at line 213 of file DIContext.h.

◆ ParentRecurseDepth

unsigned llvm::DIDumpOptions::ParentRecurseDepth = -1U

Definition at line 199 of file DIContext.h.

Referenced by dumpParentChain(), getForSingleDIE(), and noImplicitRecursion().

◆ PrintRegisterOnly

bool llvm::DIDumpOptions::PrintRegisterOnly = false

Definition at line 212 of file DIContext.h.

Referenced by llvm::printDwarfExpression(), and llvm::printOp().

◆ RecoverableErrorHandler

std::function<void(Error)> llvm::DIDumpOptions::RecoverableErrorHandler

◆ ShowAddresses

bool llvm::DIDumpOptions::ShowAddresses = true

◆ ShowAggregateErrors

bool llvm::DIDumpOptions::ShowAggregateErrors = false

Definition at line 211 of file DIContext.h.

◆ ShowChildren

bool llvm::DIDumpOptions::ShowChildren = false

Definition at line 203 of file DIContext.h.

Referenced by llvm::DWARFDie::dump(), and noImplicitRecursion().

◆ ShowForm

bool llvm::DIDumpOptions::ShowForm = false

Definition at line 205 of file DIContext.h.

Referenced by dumpAttribute().

◆ ShowParents

bool llvm::DIDumpOptions::ShowParents = false

Definition at line 204 of file DIContext.h.

Referenced by llvm::DWARFDie::dump(), and noImplicitRecursion().

◆ SummarizeTypes

bool llvm::DIDumpOptions::SummarizeTypes = false

Definition at line 206 of file DIContext.h.

Referenced by llvm::DWARFCompileUnit::dump(), and llvm::DWARFTypeUnit::dump().

◆ Verbose

◆ Version

uint16_t llvm::DIDumpOptions::Version = 0

Definition at line 200 of file DIContext.h.

◆ WarningHandler

std::function<void(Error)> llvm::DIDumpOptions::WarningHandler = WithColor::defaultWarningHandler

Definition at line 237 of file DIContext.h.

Referenced by llvm::DWARFContext::dump(), and dumpAddrSection().


The documentation for this struct was generated from the following file: