LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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
 
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()

static DIDumpOptions llvm::DIDumpOptions::getForSingleDIE ( )
inlinestatic

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

Definition at line 217 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 225 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

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

◆ 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

bool llvm::DIDumpOptions::IsEH = false

◆ JsonErrSummaryFile

std::string llvm::DIDumpOptions::JsonErrSummaryFile

Definition at line 212 of file DIContext.h.

Referenced by llvm::DWARFVerifier::summarize().

◆ ParentRecurseDepth

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

Definition at line 199 of file DIContext.h.

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

◆ 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.

Referenced by llvm::DWARFVerifier::summarize().

◆ 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

bool llvm::DIDumpOptions::Verbose = false

◆ 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 236 of file DIContext.h.

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


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