LLVM 20.0.0git
|
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 |
Container for dump options that control which debug information will be dumped.
Definition at line 196 of file DIContext.h.
|
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().
|
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().
uint8_t llvm::DIDumpOptions::AddrSize = 4 |
Definition at line 201 of file DIContext.h.
unsigned llvm::DIDumpOptions::ChildRecurseDepth = -1U |
Definition at line 198 of file DIContext.h.
Referenced by llvm::DWARFDie::dump(), getForSingleDIE(), llvm::dwarf_linker::parallel::DependencyTracker::isLiveSubprogramEntry(), llvm::dwarf_linker::parallel::DependencyTracker::isLiveVariableEntry(), llvm::dwarf_linker::classic::DWARFLinker::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), and noImplicitRecursion().
bool llvm::DIDumpOptions::DisplayRawContents = false |
Definition at line 208 of file DIContext.h.
Referenced by llvm::DWARFContext::dump(), llvm::DWARFAddressRange::dump(), llvm::RangeListEntry::dump(), and llvm::DWARFLocationTable::dumpLocationList().
bool llvm::DIDumpOptions::DumpNonSkeleton = false |
Definition at line 210 of file DIContext.h.
Referenced by llvm::DWARFCompileUnit::dump().
Definition at line 197 of file DIContext.h.
Referenced by llvm::DWARFContext::dump(), and llvm::DWARFContext::verify().
std::function<llvm::StringRef(uint64_t DwarfRegNum, bool IsEH)> llvm::DIDumpOptions::GetNameForDWARFReg |
Definition at line 214 of file DIContext.h.
Referenced by llvm::logicalview::LVDWARFReader::getRegisterName(), llvm::DWARFExpression::prettyPrintRegisterOp(), and printRegister().
bool llvm::DIDumpOptions::IsEH = false |
Definition at line 209 of file DIContext.h.
Referenced by llvm::dwarf::CIE::dump(), llvm::dwarf::FDE::dump(), llvm::DWARFDebugFrame::dump(), llvm::DWARFExpression::prettyPrintRegisterOp(), llvm::DWARFExpression::print(), and printRegister().
std::string llvm::DIDumpOptions::JsonErrSummaryFile |
Definition at line 212 of file DIContext.h.
Referenced by llvm::DWARFVerifier::summarize().
unsigned llvm::DIDumpOptions::ParentRecurseDepth = -1U |
Definition at line 199 of file DIContext.h.
Referenced by dumpParentChain(), getForSingleDIE(), and noImplicitRecursion().
std::function<void(Error)> llvm::DIDumpOptions::RecoverableErrorHandler |
Definition at line 234 of file DIContext.h.
Referenced by llvm::dwarf::CIE::dump(), llvm::dwarf::FDE::dump(), llvm::DWARFContext::dump(), dumpAddrSection(), dumpAttribute(), llvm::DWARFLocationTable::dumpLocationList(), dumpLoclistsSection(), dumpPubTableSection(), dumpRnglistsSection(), and dumpStringOffsetsSection().
Definition at line 202 of file DIContext.h.
Referenced by llvm::DWARFFormValue::dump(), llvm::DWARFDie::dump(), dumpAttribute(), and dumpRanges().
bool llvm::DIDumpOptions::ShowAggregateErrors = false |
Definition at line 211 of file DIContext.h.
Referenced by llvm::DWARFVerifier::summarize().
bool llvm::DIDumpOptions::ShowChildren = false |
Definition at line 203 of file DIContext.h.
Referenced by llvm::DWARFDie::dump(), and noImplicitRecursion().
bool llvm::DIDumpOptions::ShowForm = false |
Definition at line 205 of file DIContext.h.
Referenced by dumpAttribute().
bool llvm::DIDumpOptions::ShowParents = false |
Definition at line 204 of file DIContext.h.
Referenced by llvm::DWARFDie::dump(), and noImplicitRecursion().
bool llvm::DIDumpOptions::SummarizeTypes = false |
Definition at line 206 of file DIContext.h.
Referenced by llvm::DWARFCompileUnit::dump(), and llvm::DWARFTypeUnit::dump().
bool llvm::DIDumpOptions::Verbose = false |
Definition at line 207 of file DIContext.h.
Referenced by llvm::DWARFListTableHeader::dump(), llvm::DWARFListTableBase< DWARFListType >::dump(), llvm::DWARFContext::dump(), llvm::DWARFFormValue::dump(), llvm::DWARFDebugAddrTable::dump(), llvm::RangeListEntry::dump(), llvm::DWARFDie::dump(), llvm::DWARFFormValue::dumpAddressSection(), dumpAttribute(), llvm::DWARFVerifier::DWARFVerifier(), llvm::dwarf_linker::parallel::DependencyTracker::isLiveSubprogramEntry(), llvm::dwarf_linker::parallel::DependencyTracker::isLiveVariableEntry(), llvm::dwarf_linker::classic::DWARFLinker::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::DWARFDebugLine::LineTable::parse(), and llvm::prettyPrintBaseTypeRef().
uint16_t llvm::DIDumpOptions::Version = 0 |
Definition at line 200 of file DIContext.h.
std::function<void(Error)> llvm::DIDumpOptions::WarningHandler = WithColor::defaultWarningHandler |
Definition at line 236 of file DIContext.h.
Referenced by llvm::DWARFContext::dump(), and dumpAddrSection().