LLVM 17.0.0git
|
DWARFContext This data structure is the top level entity that deals with dwarf debug information parsing. More...
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
Classes | |
struct | DIEsForAddress |
Wraps the returned DIEs for a given address. More... | |
Public Types | |
enum class | ProcessDebugRelocations { Process , Ignore } |
using | unit_iterator_range = DWARFUnitVector::iterator_range |
using | compile_unit_range = DWARFUnitVector::compile_unit_range |
![]() | |
enum | DIContextKind { CK_DWARF , CK_PDB } |
Static Public Member Functions | |
static bool | classof (const DIContext *DICtx) |
static unsigned | getMaxSupportedVersion () |
static bool | isSupportedVersion (unsigned version) |
static SmallVector< uint8_t, 3 > | getSupportedAddressSizes () |
static bool | isAddressSizeSupported (unsigned AddressSize) |
template<typename... Ts> | |
static Error | checkAddressSizeSupported (unsigned AddressSize, std::error_code EC, char const *Fmt, const Ts &...Vals) |
static std::unique_ptr< DWARFContext > | create (const object::ObjectFile &Obj, ProcessDebugRelocations RelocAction=ProcessDebugRelocations::Process, const LoadedObjectInfo *L=nullptr, std::string DWPName="", std::function< void(Error)> RecoverableErrorHandler=WithColor::defaultErrorHandler, std::function< void(Error)> WarningHandler=WithColor::defaultWarningHandler) |
static std::unique_ptr< DWARFContext > | create (const StringMap< std::unique_ptr< MemoryBuffer > > &Sections, uint8_t AddrSize, bool isLittleEndian=sys::IsLittleEndianHost, std::function< void(Error)> RecoverableErrorHandler=WithColor::defaultErrorHandler, std::function< void(Error)> WarningHandler=WithColor::defaultWarningHandler) |
DWARFContext This data structure is the top level entity that deals with dwarf debug information parsing.
The actual data is supplied through DWARFObj.
Definition at line 46 of file DWARFContext.h.
Definition at line 145 of file DWARFContext.h.
Definition at line 144 of file DWARFContext.h.
|
strong |
Enumerator | |
---|---|
Process | |
Ignore |
Definition at line 417 of file DWARFContext.h.
DWARFContext::DWARFContext | ( | std::unique_ptr< const DWARFObject > | DObj, |
std::string | DWPName = "" , |
||
std::function< void(Error)> | RecoverableErrorHandler = WithColor::defaultErrorHandler , |
||
std::function< void(Error)> | WarningHandler = WithColor::defaultWarningHandler |
||
) |
Definition at line 73 of file DWARFContext.cpp.
|
overridedefault |
|
delete |
|
inlinestatic |
Definition at line 392 of file DWARFContext.h.
References llvm::format(), getSupportedAddressSizes(), isAddressSizeSupported(), Size, llvm::raw_string_ostream::str(), and llvm::Error::success().
Referenced by llvm::DWARFDebugRangeList::extract(), llvm::DWARFUnitHeader::extract(), llvm::DWARFDebugArangeSet::extract(), and llvm::DWARFListTableHeader::extract().
Definition at line 128 of file DWARFContext.h.
References llvm::DIContext::CK_DWARF, and llvm::DIContext::getKind().
void DWARFContext::clearLineTableForUnit | ( | DWARFUnit * | U | ) |
Definition at line 1126 of file DWARFContext.cpp.
References llvm::Offset, and llvm::dwarf::toSectionOffset().
|
inline |
Get compile units in this context.
Definition at line 168 of file DWARFContext.h.
References info_section_units(), llvm::isCompileUnit(), and llvm::make_filter_range().
Referenced by llvm::gsym::DwarfTransformer::convert(), dump(), llvm::DWARFDebugAranges::generate(), getCompileUnitForDataAddress(), and getCUAddrSize().
|
static |
Definition at line 2121 of file DWARFContext.cpp.
Referenced by llvm::logicalview::LVELFReader::createScopes(), llvm::InstrProfCorrelatorImpl< IntPtrT >::get(), and getDWOContext().
|
static |
Definition at line 2134 of file DWARFContext.cpp.
References isLittleEndian().
|
inlineoverridevirtual |
Implements llvm::DIContext.
Definition at line 137 of file DWARFContext.h.
References llvm::DIDT_ID_Count, dump(), and OS.
void DWARFContext::dump | ( | raw_ostream & | OS, |
DIDumpOptions | DumpOpts, | ||
std::array< std::optional< uint64_t >, DIDT_ID_Count > | DumpOffsets | ||
) |
Dump a textual representation to OS
.
If any DumpOffsets
are present, dump only the record at the specified offset.
Definition at line 350 of file DWARFContext.cpp.
References compile_units(), llvm::Data, DF, llvm::DIDT_All, llvm::DIDT_UUID, llvm::DIDumpOptions::DisplayRawContents, llvm::DWARFGdbIndex::dump(), llvm::DWARFDebugAbbrev::dump(), llvm::DWARFDebugArangeSet::dump(), llvm::DWARFDebugRangeList::dump(), llvm::DWARFUnitIndex::dump(), llvm::AppleAcceleratorTable::dump(), llvm::DWARFDebugNames::dump(), llvm::DWARFDebugLoc::dump(), dumpAddrSection(), llvm::DWARFLocationTable::dumpLocationList(), dumpLoclistsSection(), dumpPubTableSection(), llvm::DWARFDebugLoclists::dumpRange(), dumpRnglistsSection(), dumpStringOffsetsSection(), llvm::DIDumpOptions::DumpType, dumpUUID(), dwo_info_section_units(), dwo_types_section_units(), dwo_units(), E, llvm::sys::path::extension(), llvm::DWARFDebugRangeList::extract(), llvm::DWARFDebugArangeSet::extract(), llvm::format(), getAppleNames(), getAppleNamespaces(), getAppleObjC(), getAppleTypes(), llvm::DataExtractor::getCStr(), getCUAddrSize(), getCUIndex(), getDebugAbbrev(), getDebugAbbrevDWO(), getDebugFrame(), getDebugLoc(), getDebugMacinfo(), getDebugMacinfoDWO(), getDebugMacro(), getDebugMacroDWO(), getDebugNames(), getEHFrame(), getGdbIndex(), getMaxVersion(), getNumCompileUnits(), getNumDWOCompileUnits(), getNumDWOTypeUnits(), getNumTypeUnits(), getTUIndex(), I, info_section_units(), isLittleEndian(), llvm::DataExtractor::isValidOffset(), Name, llvm::DIDumpOptions::noImplicitRecursion(), normal_units(), llvm::Offset, OS, llvm::DIDumpOptions::RecoverableErrorHandler, llvm::Error::success(), types_section_units(), llvm::DIDumpOptions::Verbose, llvm::DIDumpOptions::WarningHandler, and llvm::raw_ostream::write_escaped().
Referenced by dump().
|
inline |
Get compile units in the DWO context.
Definition at line 201 of file DWARFContext.h.
References dwo_info_section_units(), llvm::isCompileUnit(), and llvm::make_filter_range().
Referenced by getDWOCompileUnitForHash().
|
inline |
Get units from .debug_info..dwo in the DWO context.
Definition at line 182 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), and llvm::DWARFUnitVector::getNumInfoUnits().
Referenced by dump(), dwo_compile_units(), and getMaxDWOVersion().
|
inline |
Get units from .debug_types.dwo in the DWO context.
Definition at line 194 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and llvm::DWARFUnitVector::getNumInfoUnits().
Referenced by dump().
|
inline |
Get all units in the DWO context.
Definition at line 210 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), and llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by dump(), and getTypeUnitForHash().
const AppleAcceleratorTable & DWARFContext::getAppleNames | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 1065 of file DWARFContext.cpp.
References getAccelTable(), and isLittleEndian().
Referenced by dump().
const AppleAcceleratorTable & DWARFContext::getAppleNamespaces | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 1075 of file DWARFContext.cpp.
References getAccelTable(), and isLittleEndian().
Referenced by dump().
const AppleAcceleratorTable & DWARFContext::getAppleObjC | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 1081 of file DWARFContext.cpp.
References getAccelTable(), and isLittleEndian().
Referenced by dump().
const AppleAcceleratorTable & DWARFContext::getAppleTypes | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 1070 of file DWARFContext.cpp.
References getAccelTable(), and isLittleEndian().
Referenced by dump().
|
inline |
Definition at line 440 of file DWARFContext.h.
References llvm::object::ObjectFile::getArch(), getDWARFObj(), and llvm::DWARFObject::getFile().
Referenced by getDebugFrame(), and getEHFrame().
DWARFCompileUnit * DWARFContext::getCompileUnitForCodeAddress | ( | uint64_t | Address | ) |
Return the compile unit which contains instruction with provided address.
TODO: change input parameter from "uint64_t Address" into "SectionedAddress Address"
Definition at line 1172 of file DWARFContext.cpp.
References llvm::Address, llvm::DWARFDebugAranges::findAddress(), getCompileUnitForOffset(), and getDebugAranges().
Referenced by getDIEsForAddress(), getInliningInfoForAddress(), getLineInfoForAddress(), getLineInfoForAddressRange(), and getLocalsForAddress().
DWARFCompileUnit * DWARFContext::getCompileUnitForDataAddress | ( | uint64_t | Address | ) |
Return the compile unit which contains data with the provided address.
Note: This is more expensive than getCompileUnitForAddress
, as if Address
isn't found in the CU ranges (which is cheap), then it falls back to an expensive O(n) walk of all CU's looking for data that spans the address. TODO: change input parameter from "uint64_t Address" into "SectionedAddress Address"
Definition at line 1177 of file DWARFContext.cpp.
References llvm::Address, compile_units(), llvm::DWARFDebugAranges::findAddress(), getCompileUnitForOffset(), and getDebugAranges().
Referenced by getLineInfoForDataAddress().
DWARFCompileUnit * DWARFContext::getCompileUnitForOffset | ( | uint64_t | Offset | ) |
Return the compile unit that includes an offset (relative to .debug_info).
Definition at line 1166 of file DWARFContext.cpp.
References llvm::DWARFUnitVector::getUnitForOffset(), and llvm::Offset.
Referenced by getCompileUnitForCodeAddress(), and getCompileUnitForDataAddress().
uint8_t DWARFContext::getCUAddrSize | ( | ) |
Get address size from CUs.
TODO: refactor compile_units() to make this const.
Definition at line 2144 of file DWARFContext.cpp.
References compile_units().
Referenced by dump().
const DWARFUnitIndex & DWARFContext::getCUIndex | ( | ) |
Definition at line 900 of file DWARFContext.cpp.
References fixupIndex(), and isLittleEndian().
Referenced by dump(), and getDWOCompileUnitForHash().
const DWARFDebugAbbrev * DWARFContext::getDebugAbbrev | ( | ) |
Get a pointer to the parsed DebugAbbrev object.
Definition at line 936 of file DWARFContext.cpp.
References isLittleEndian().
Referenced by dump(), and llvm::DWARFVerifier::handleDebugAbbrev().
const DWARFDebugAbbrev * DWARFContext::getDebugAbbrevDWO | ( | ) |
Get a pointer to the parsed dwo abbreviations object.
Definition at line 947 of file DWARFContext.cpp.
References isLittleEndian().
Referenced by dump(), and llvm::DWARFVerifier::handleDebugAbbrev().
const DWARFDebugAranges * DWARFContext::getDebugAranges | ( | ) |
Get a pointer to the parsed DebugAranges object.
Definition at line 971 of file DWARFContext.cpp.
Referenced by getCompileUnitForCodeAddress(), and getCompileUnitForDataAddress().
Expected< const DWARFDebugFrame * > DWARFContext::getDebugFrame | ( | ) |
Get a pointer to the parsed frame information object.
Definition at line 980 of file DWARFContext.cpp.
References DF, E, getArch(), and isLittleEndian().
Referenced by dump().
const DWARFDebugLoc * DWARFContext::getDebugLoc | ( | ) |
Get a pointer to the parsed DebugLoc object.
Definition at line 957 of file DWARFContext.cpp.
References getNumCompileUnits(), getUnitAtIndex(), and isLittleEndian().
Referenced by dump().
const DWARFDebugMacro * DWARFContext::getDebugMacinfo | ( | ) |
Get a pointer to the parsed DebugMacinfo information object.
Definition at line 1034 of file DWARFContext.cpp.
Referenced by dump().
const DWARFDebugMacro * DWARFContext::getDebugMacinfoDWO | ( | ) |
Get a pointer to the parsed DebugMacinfoDWO information object.
Definition at line 1040 of file DWARFContext.cpp.
Referenced by dump().
const DWARFDebugMacro * DWARFContext::getDebugMacro | ( | ) |
Get a pointer to the parsed DebugMacro information object.
Definition at line 1022 of file DWARFContext.cpp.
Referenced by dump().
const DWARFDebugMacro * DWARFContext::getDebugMacroDWO | ( | ) |
Get a pointer to the parsed DebugMacroDWO information object.
Definition at line 1028 of file DWARFContext.cpp.
Referenced by dump().
const DWARFDebugNames & DWARFContext::getDebugNames | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 1060 of file DWARFContext.cpp.
References getAccelTable(), and isLittleEndian().
Referenced by dump().
Get a DIE given an exact offset.
Definition at line 759 of file DWARFContext.cpp.
References llvm::DWARFUnitVector::getUnitForOffset(), and llvm::Offset.
DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress | ( | uint64_t | Address | ) |
Get the compilation unit, the function DIE and lexical block DIE for the given address where applicable.
TODO: change input parameter from "uint64_t Address" into "SectionedAddress Address"
Definition at line 1200 of file DWARFContext.cpp.
References llvm::Address, llvm::append_range(), getCompileUnitForCodeAddress(), and llvm::DIE::getTag().
|
inline |
Definition at line 126 of file DWARFContext.h.
Referenced by dumpAttribute(), dumpLocationList(), llvm::DWARFFormValue::dumpSectionedAddress(), llvm::DWARFVerifier::DWARFVerifier(), llvm::DWARFDebugAranges::generate(), getArch(), llvm::DWARFVerifier::handleAccelTables(), llvm::DWARFVerifier::handleDebugAbbrev(), llvm::DWARFVerifier::handleDebugCUIndex(), llvm::DWARFVerifier::handleDebugInfo(), llvm::DWARFVerifier::handleDebugStrOffsets(), llvm::DWARFVerifier::handleDebugTUIndex(), and llvm::DWARFVerifier::verifyDebugStrOffsets().
DWARFCompileUnit * DWARFContext::getDWOCompileUnitForHash | ( | uint64_t | Hash | ) |
Definition at line 729 of file DWARFContext.cpp.
References dwo_compile_units(), getCUIndex(), llvm::DWARFUnitVector::getUnitForIndexEntry(), and llvm::dwarf::toUnsigned().
std::shared_ptr< DWARFContext > DWARFContext::getDWOContext | ( | StringRef | AbsolutePath | ) |
Definition at line 1524 of file DWARFContext.cpp.
References llvm::consumeError(), create(), llvm::object::ObjectFile::createObjectFile(), llvm::SmallVectorBase< Size_T >::empty(), llvm::Expected< T >::get(), Ignore, and llvm::Expected< T >::takeError().
Get the unit at the specified index for the DWO units.
Definition at line 246 of file DWARFContext.h.
|
inline |
Definition at line 188 of file DWARFContext.h.
Referenced by llvm::DWARFVerifier::handleDebugInfo().
Expected< const DWARFDebugFrame * > DWARFContext::getEHFrame | ( | ) |
Get a pointer to the parsed eh frame information object.
Definition at line 1006 of file DWARFContext.cpp.
References DF, E, getArch(), and isLittleEndian().
Referenced by dump().
DWARFGdbIndex & DWARFContext::getGdbIndex | ( | ) |
Definition at line 926 of file DWARFContext.cpp.
Referenced by dump().
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 1455 of file DWARFContext.cpp.
References llvm::DIInliningInfo::addFrame(), llvm::Address, llvm::DILineInfo::Column, llvm::DILineInfo::Discriminator, llvm::DILineInfo::FileName, llvm::DWARFDie::find(), llvm::DILineInfo::FunctionName, llvm::DWARFDie::getCallerFrame(), getCompileUnitForCodeAddress(), llvm::DWARFDie::getDeclFile(), llvm::DWARFDie::getDeclLine(), llvm::DWARFDebugLine::LineTable::getFileLineInfoForAddress(), llvm::DWARFDebugLine::LineTable::getFileNameByIndex(), getLineTableForUnit(), llvm::DWARFDie::getSubroutineName(), llvm::DILineInfo::Line, Name, llvm::SmallVectorBase< Size_T >::size(), llvm::DILineInfo::StartAddress, llvm::DILineInfo::StartFileName, llvm::DILineInfo::StartLine, and llvm::dwarf::toSectionedAddress().
Referenced by llvm::gsym::DwarfTransformer::verify().
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 1364 of file DWARFContext.cpp.
References llvm::Address, getCompileUnitForCodeAddress(), getFunctionNameAndStartLineForAddress(), and getLineTableForUnit().
Referenced by llvm::gsym::DwarfTransformer::verify().
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 1400 of file DWARFContext.cpp.
References llvm::Address, llvm::DILineInfo::BadString, getCompileUnitForCodeAddress(), llvm::DWARFDebugLine::LineTable::getFileNameByIndex(), getFunctionNameAndStartLineForAddress(), getLineTableForUnit(), llvm::DWARFDebugLine::LineTable::lookupAddressRange(), llvm::DWARFDebugLine::LineTable::Rows, and Size.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 1386 of file DWARFContext.cpp.
References llvm::Address, getCompileUnitForDataAddress(), llvm::DWARFDie::getDeclFile(), and llvm::DWARFDie::getDeclLine().
|
inline |
Definition at line 346 of file DWARFContext.h.
Referenced by llvm::DWARFFormValue::getAsCString().
const DWARFDebugLine::LineTable * DWARFContext::getLineTableForUnit | ( | DWARFUnit * | U | ) |
Get a pointer to a parsed line table corresponding to a compile unit.
Report any parsing issues as warnings on stderr.
Definition at line 1087 of file DWARFContext.cpp.
References getLineTableForUnit(), and llvm::Expected< T >::takeError().
Referenced by llvm::gsym::CUInfo::CUInfo(), llvm::DWARFFormValue::getAsFile(), getInliningInfoForAddress(), getLineInfoForAddress(), getLineInfoForAddressRange(), and getLineTableForUnit().
Expected< const DWARFDebugLine::LineTable * > DWARFContext::getLineTableForUnit | ( | DWARFUnit * | U, |
function_ref< void(Error)> | RecoverableErrorHandler | ||
) |
Get a pointer to a parsed line table corresponding to a compile unit.
Report any recoverable parsing problems using the handler.
Definition at line 1097 of file DWARFContext.cpp.
References isLittleEndian(), llvm::Offset, and llvm::dwarf::toSectionOffset().
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 1352 of file DWARFContext.cpp.
References llvm::Address, getCompileUnitForCodeAddress(), and llvm::DWARFDie::isValid().
|
inline |
Definition at line 266 of file DWARFContext.h.
References dwo_info_section_units().
|
inlinestatic |
Definition at line 380 of file DWARFContext.h.
Referenced by llvm::DWARFUnitHeader::extract(), and isSupportedVersion().
|
inline |
Definition at line 260 of file DWARFContext.h.
References info_section_units().
Referenced by dump().
|
inline |
Definition at line 155 of file DWARFContext.h.
Referenced by llvm::DWARFVerifier::handleDebugInfo().
|
inline |
Get the number of compile units in this context.
Definition at line 216 of file DWARFContext.h.
References llvm::DWARFUnitVector::getNumInfoUnits().
Referenced by dump(), and getDebugLoc().
|
inline |
Get the number of compile units in the DWO context.
Definition at line 228 of file DWARFContext.h.
References llvm::DWARFUnitVector::getNumInfoUnits().
Referenced by dump().
|
inline |
Get the number of type units in the DWO context.
Definition at line 234 of file DWARFContext.h.
References llvm::DWARFUnitVector::getNumTypesUnits().
Referenced by dump().
|
inline |
Get the number of type units in this context.
Definition at line 222 of file DWARFContext.h.
References llvm::DWARFUnitVector::getNumTypesUnits().
Referenced by dump().
|
inline |
Returns whether CU/TU should be populated manually.
TU Index populated manually only for DWARF5.
Definition at line 461 of file DWARFContext.h.
|
inline |
Definition at line 411 of file DWARFContext.h.
Referenced by llvm::DWARFDebugAranges::generate().
|
inline |
Definition at line 343 of file DWARFContext.h.
|
inline |
Definition at line 340 of file DWARFContext.h.
Referenced by llvm::DWARFFormValue::getAsCString().
|
inlinestatic |
Definition at line 385 of file DWARFContext.h.
Referenced by checkAddressSizeSupported(), and isAddressSizeSupported().
const DWARFUnitIndex & DWARFContext::getTUIndex | ( | ) |
Definition at line 912 of file DWARFContext.cpp.
References llvm::DW_SECT_EXT_TYPES, fixupIndex(), and isLittleEndian().
Referenced by dump(), and getTypeUnitForHash().
DWARFTypeUnit * DWARFContext::getTypeUnitForHash | ( | uint16_t | Version, |
uint64_t | Hash, | ||
bool | IsDWO | ||
) |
Definition at line 701 of file DWARFContext.cpp.
References dwo_units(), getTUIndex(), llvm::DWARFUnitVector::getUnitForIndexEntry(), and normal_units().
Referenced by llvm::DWARFDie::resolveTypeUnitReference().
Get the unit at the specified index.
Definition at line 240 of file DWARFContext.h.
Referenced by getDebugLoc().
|
inline |
Definition at line 415 of file DWARFContext.h.
Referenced by llvm::DWARFDebugAranges::generate().
|
inline |
Get units from .debug_info in this context.
Definition at line 148 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), and llvm::DWARFUnitVector::getNumInfoUnits().
Referenced by compile_units(), dump(), and getMaxVersion().
Definition at line 388 of file DWARFContext.h.
References getSupportedAddressSizes(), and llvm::is_contained().
Referenced by checkAddressSizeSupported(), and llvm::DWARFDebugRangeList::RangeListEntry::isBaseAddressSelectionEntry().
|
inline |
Definition at line 379 of file DWARFContext.h.
Referenced by create(), dump(), dumpLocationExpr(), llvm::DWARFDebugAranges::generate(), getAppleNames(), getAppleNamespaces(), getAppleObjC(), getAppleTypes(), getCUIndex(), getDebugAbbrev(), getDebugAbbrevDWO(), getDebugFrame(), getDebugLoc(), getDebugNames(), getEHFrame(), getLineTableForUnit(), getTUIndex(), llvm::DWARFVerifier::handleAccelTables(), isVariableIndexable(), and llvm::DWARFVerifier::verifyDebugStrOffsets().
Definition at line 381 of file DWARFContext.h.
References getMaxSupportedVersion().
Referenced by llvm::DWARFUnitHeader::extract().
|
inline |
Get all normal compile/type units in this context.
Definition at line 176 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), and llvm::SmallVectorTemplateCommon< T, typename >::end().
Referenced by dump(), and getTypeUnitForHash().
|
delete |
|
inline |
Definition at line 272 of file DWARFContext.h.
|
inline |
Sets whether CU/TU should be populated manually.
TU Index populated manually only for DWARF5.
Definition at line 465 of file DWARFContext.h.
|
inline |
Get units from .debug_types in this context.
Definition at line 161 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and llvm::DWARFUnitVector::getNumInfoUnits().
Referenced by dump().
|
overridevirtual |
Reimplemented from llvm::DIContext.
Definition at line 766 of file DWARFContext.cpp.
References llvm::DIDumpOptions::DumpType, llvm::DWARFVerifier::handleAccelTables(), llvm::DWARFVerifier::handleDebugAbbrev(), llvm::DWARFVerifier::handleDebugCUIndex(), llvm::DWARFVerifier::handleDebugInfo(), llvm::DWARFVerifier::handleDebugLine(), llvm::DWARFVerifier::handleDebugStrOffsets(), llvm::DWARFVerifier::handleDebugTUIndex(), OS, and Success.