|
LLVM
7.0.0
|
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 | |
| using | cu_iterator_range = DWARFUnitSection< DWARFCompileUnit >::iterator_range |
| using | tu_iterator_range = DWARFUnitSection< DWARFTypeUnit >::iterator_range |
| using | tu_section_iterator_range = iterator_range< decltype(TUs)::iterator > |
Public Types inherited from llvm::DIContext | |
| enum | DIContextKind { CK_DWARF, CK_PDB } |
Public Member Functions | |
| DWARFContext (std::unique_ptr< const DWARFObject > DObj, std::string DWPName="") | |
| ~DWARFContext () | |
| DWARFContext (DWARFContext &)=delete | |
| DWARFContext & | operator= (DWARFContext &)=delete |
| const DWARFObject & | getDWARFObj () const |
| void | dump (raw_ostream &OS, DIDumpOptions DumpOpts, std::array< Optional< uint64_t >, DIDT_ID_Count > DumpOffsets) |
Dump a textual representation to OS. More... | |
| void | dump (raw_ostream &OS, DIDumpOptions DumpOpts) override |
| bool | verify (raw_ostream &OS, DIDumpOptions DumpOpts={}) override |
| cu_iterator_range | compile_units () |
| Get compile units in this context. More... | |
| tu_section_iterator_range | type_unit_sections () |
| Get type units in this context. More... | |
| cu_iterator_range | dwo_compile_units () |
| Get compile units in the DWO context. More... | |
| tu_section_iterator_range | dwo_type_unit_sections () |
| Get type units in the DWO context. More... | |
| unsigned | getNumCompileUnits () |
| Get the number of compile units in this context. More... | |
| unsigned | getNumTypeUnits () |
| Get the number of compile units in this context. More... | |
| unsigned | getNumDWOCompileUnits () |
| Get the number of compile units in the DWO context. More... | |
| unsigned | getNumDWOTypeUnits () |
| Get the number of compile units in the DWO context. More... | |
| DWARFCompileUnit * | getCompileUnitAtIndex (unsigned index) |
| Get the compile unit at the specified index for this compile unit. More... | |
| DWARFCompileUnit * | getDWOCompileUnitAtIndex (unsigned index) |
| Get the compile unit at the specified index for the DWO compile units. More... | |
| DWARFCompileUnit * | getDWOCompileUnitForHash (uint64_t Hash) |
| DWARFCompileUnit * | getCompileUnitForOffset (uint32_t Offset) |
| Return the compile unit that includes an offset (relative to .debug_info). More... | |
| DWARFDie | getDIEForOffset (uint32_t Offset) |
| Get a DIE given an exact offset. More... | |
| unsigned | getMaxVersion () const |
| void | setMaxVersionIfGreater (unsigned Version) |
| const DWARFUnitIndex & | getCUIndex () |
| DWARFGdbIndex & | getGdbIndex () |
| const DWARFUnitIndex & | getTUIndex () |
| const DWARFDebugAbbrev * | getDebugAbbrev () |
| Get a pointer to the parsed DebugAbbrev object. More... | |
| const DWARFDebugLoc * | getDebugLoc () |
| Get a pointer to the parsed DebugLoc object. More... | |
| const DWARFDebugAbbrev * | getDebugAbbrevDWO () |
| Get a pointer to the parsed dwo abbreviations object. More... | |
| const DWARFDebugLocDWO * | getDebugLocDWO () |
| Get a pointer to the parsed DebugLoc object. More... | |
| const DWARFDebugAranges * | getDebugAranges () |
| Get a pointer to the parsed DebugAranges object. More... | |
| const DWARFDebugFrame * | getDebugFrame () |
| Get a pointer to the parsed frame information object. More... | |
| const DWARFDebugFrame * | getEHFrame () |
| Get a pointer to the parsed eh frame information object. More... | |
| const DWARFDebugMacro * | getDebugMacro () |
| Get a pointer to the parsed DebugMacro object. More... | |
| const DWARFDebugNames & | getDebugNames () |
| Get a reference to the parsed accelerator table object. More... | |
| const AppleAcceleratorTable & | getAppleNames () |
| Get a reference to the parsed accelerator table object. More... | |
| const AppleAcceleratorTable & | getAppleTypes () |
| Get a reference to the parsed accelerator table object. More... | |
| const AppleAcceleratorTable & | getAppleNamespaces () |
| Get a reference to the parsed accelerator table object. More... | |
| const AppleAcceleratorTable & | getAppleObjC () |
| Get a reference to the parsed accelerator table object. More... | |
| const DWARFDebugLine::LineTable * | getLineTableForUnit (DWARFUnit *U) |
| Get a pointer to a parsed line table corresponding to a compile unit. More... | |
| Expected< const DWARFDebugLine::LineTable * > | getLineTableForUnit (DWARFUnit *U, std::function< void(Error)> RecoverableErrorCallback) |
| Get a pointer to a parsed line table corresponding to a compile unit. More... | |
| DataExtractor | getStringExtractor () const |
| DataExtractor | getLineStringExtractor () const |
| DIEsForAddress | getDIEsForAddress (uint64_t Address) |
| Get the compilation unit, the function DIE and lexical block DIE for the given address where applicable. More... | |
| DILineInfo | getLineInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier()) override |
| DILineInfoTable | getLineInfoForAddressRange (uint64_t Address, uint64_t Size, DILineInfoSpecifier Specifier=DILineInfoSpecifier()) override |
| DIInliningInfo | getInliningInfoForAddress (uint64_t Address, DILineInfoSpecifier Specifier=DILineInfoSpecifier()) override |
| bool | isLittleEndian () const |
| std::shared_ptr< DWARFContext > | getDWOContext (StringRef AbsolutePath) |
| const MCRegisterInfo * | getRegisterInfo () const |
| Error | loadRegisterInfo (const object::ObjectFile &Obj) |
| Loads register info for the architecture of the provided object file. More... | |
| uint8_t | getCUAddrSize () |
| Get address size from CUs. More... | |
Public Member Functions inherited from llvm::DIContext | |
| DIContext (DIContextKind K) | |
| virtual | ~DIContext ()=default |
| DIContextKind | getKind () const |
Static Public Member Functions | |
| static bool | classof (const DIContext *DICtx) |
| static bool | isSupportedVersion (unsigned version) |
| static ErrorPolicy | defaultErrorHandler (Error E) |
| Function used to handle default error reporting policy. More... | |
| static std::unique_ptr< DWARFContext > | create (const object::ObjectFile &Obj, const LoadedObjectInfo *L=nullptr, function_ref< ErrorPolicy(Error)> HandleError=defaultErrorHandler, std::string DWPName="") |
| static std::unique_ptr< DWARFContext > | create (const StringMap< std::unique_ptr< MemoryBuffer >> &Sections, uint8_t AddrSize, bool isLittleEndian=sys::IsLittleEndianHost) |
Protected Attributes | |
| std::unique_ptr< const DWARFObject > | DObj |
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 59 of file DWARFContext.h.
Definition at line 142 of file DWARFContext.h.
Definition at line 143 of file DWARFContext.h.
| using llvm::DWARFContext::tu_section_iterator_range = iterator_range<decltype(TUs)::iterator> |
Definition at line 144 of file DWARFContext.h.
| DWARFContext::DWARFContext | ( | std::unique_ptr< const DWARFObject > | DObj, |
| std::string | DWPName = "" |
||
| ) |
Definition at line 68 of file DWARFContext.cpp.
References ~DWARFContext().
|
default |
Referenced by DWARFContext().
|
delete |
Definition at line 126 of file DWARFContext.h.
References llvm::DIDT_ID_Count, llvm::dump(), and llvm::DIContext::getKind().
|
inline |
Get compile units in this context.
Definition at line 147 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T >::begin(), and llvm::SmallVectorTemplateCommon< T >::end().
Referenced by dump(), llvm::DWARFDebugAranges::generate(), and getCUAddrSize().
|
static |
|
static |
Definition at line 1594 of file DWARFContext.cpp.
References DObj, and isLittleEndian().
|
static |
Function used to handle default error reporting policy.
Prints a error message and returns Continue, so DWARF context ignores the error.
Definition at line 1199 of file DWARFContext.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::Continue, llvm::Data, llvm::StringSwitch< T, R >::Default(), llvm::WithColor::error(), llvm::Error::success(), llvm::Expected< T >::takeError(), and llvm::toString().
| void DWARFContext::dump | ( | raw_ostream & | OS, |
| DIDumpOptions | DumpOpts, | ||
| std::array< 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 305 of file DWARFContext.cpp.
References compile_units(), llvm::DIDT_All, llvm::DIDT_UUID, DObj, llvm::DWARFDebugLine::SectionParser::done(), llvm::DWARFDebugMacro::dump(), llvm::DWARFDebugLoc::dump(), llvm::DWARFGdbIndex::dump(), llvm::DWARFDebugAbbrev::dump(), llvm::DWARFDebugRangeList::dump(), llvm::DWARFUnitIndex::dump(), llvm::DWARFDebugLocDWO::dump(), llvm::AppleAcceleratorTable::dump(), llvm::DWARFDebugLine::LineTable::dump(), llvm::DWARFDebugFrame::dump(), llvm::DWARFDebugNames::dump(), dumpAddrSection(), dumpRnglistsSection(), dumpStringOffsetsSection(), llvm::DIDumpOptions::DumpType, dumpUUID(), dwo_compile_units(), dwo_type_unit_sections(), E, llvm::WithColor::error(), llvm::sys::path::extension(), extract, llvm::DWARFDebugRangeList::extract(), llvm::format(), getAppleNames(), getAppleNamespaces(), getAppleObjC(), getAppleTypes(), getCUAddrSize(), getCUIndex(), getDebugAbbrev(), getDebugAbbrevDWO(), getDebugFrame(), getDebugLoc(), getDebugLocDWO(), getDebugMacro(), getDebugNames(), getDIEForOffset(), getEHFrame(), getGdbIndex(), getMaxVersion(), getNumDWOTypeUnits(), getNumTypeUnits(), llvm::DWARFDebugLine::SectionParser::getOffset(), getRegisterInfo(), getTUIndex(), llvm::Optional< T >::getValue(), isLittleEndian(), llvm::BitmaskEnumDetail::Mask(), llvm::DIDumpOptions::noImplicitRecursion(), llvm::DWARFDebugLine::SectionParser::parseNext(), llvm::ARMBuildAttrs::Section, llvm::DWARFDebugLine::SectionParser::skip(), llvm::toString(), type_unit_sections(), llvm::DIDumpOptions::Verbose, llvm::DWARFDebugLine::warn(), and llvm::raw_ostream::write_escaped().
|
inlineoverridevirtual |
Implements llvm::DIContext.
Definition at line 135 of file DWARFContext.h.
References llvm::DIDT_ID_Count, llvm::dump(), and llvm::verify().
|
inline |
Get compile units in the DWO context.
Definition at line 159 of file DWARFContext.h.
References llvm::SmallVectorTemplateCommon< T >::begin(), and llvm::SmallVectorTemplateCommon< T >::end().
Referenced by dump(), and getDWOCompileUnitForHash().
|
inline |
Get type units in the DWO context.
Definition at line 165 of file DWARFContext.h.
Referenced by dump().
| const AppleAcceleratorTable & DWARFContext::getAppleNames | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 785 of file DWARFContext.cpp.
References DObj, getAccelTable(), and isLittleEndian().
Referenced by dump().
| const AppleAcceleratorTable & DWARFContext::getAppleNamespaces | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 795 of file DWARFContext.cpp.
References DObj, getAccelTable(), and isLittleEndian().
Referenced by dump().
| const AppleAcceleratorTable & DWARFContext::getAppleObjC | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 801 of file DWARFContext.cpp.
References DObj, getAccelTable(), and isLittleEndian().
Referenced by dump().
| const AppleAcceleratorTable & DWARFContext::getAppleTypes | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 790 of file DWARFContext.cpp.
References DObj, getAccelTable(), and isLittleEndian().
Referenced by dump().
|
inline |
Get the compile unit at the specified index for this compile unit.
Definition at line 195 of file DWARFContext.h.
Referenced by getDebugLoc(), and getDebugLocDWO().
| DWARFCompileUnit * DWARFContext::getCompileUnitForOffset | ( | uint32_t | Offset | ) |
Return the compile unit that includes an offset (relative to .debug_info).
Definition at line 872 of file DWARFContext.cpp.
References llvm::Address, llvm::DWARFDebugAranges::findAddress(), and getDebugAranges().
| uint8_t DWARFContext::getCUAddrSize | ( | ) |
Get address size from CUs.
TODO: refactor compile_units() to make this const.
Definition at line 1617 of file DWARFContext.cpp.
References compile_units().
Referenced by dump().
| const DWARFUnitIndex & DWARFContext::getCUIndex | ( | ) |
Definition at line 635 of file DWARFContext.cpp.
References DObj, llvm::DW_SECT_INFO, and isLittleEndian().
Referenced by dump(), llvm::getDWARFUnitIndex(), and getDWOCompileUnitForHash().
| const DWARFDebugAbbrev * DWARFContext::getDebugAbbrev | ( | ) |
Get a pointer to the parsed DebugAbbrev object.
Definition at line 667 of file DWARFContext.cpp.
References DObj, and isLittleEndian().
Referenced by dump(), and llvm::DWARFUnitSectionBase::parse().
| const DWARFDebugAbbrev * DWARFContext::getDebugAbbrevDWO | ( | ) |
Get a pointer to the parsed dwo abbreviations object.
Definition at line 678 of file DWARFContext.cpp.
References DObj, and isLittleEndian().
Referenced by dump(), and llvm::DWARFUnitSectionBase::parseDWO().
| const DWARFDebugAranges * DWARFContext::getDebugAranges | ( | ) |
Get a pointer to the parsed DebugAranges object.
Definition at line 716 of file DWARFContext.cpp.
Referenced by getCompileUnitForOffset().
| const DWARFDebugFrame * DWARFContext::getDebugFrame | ( | ) |
Get a pointer to the parsed frame information object.
Definition at line 725 of file DWARFContext.cpp.
References DObj, and isLittleEndian().
Referenced by dump().
| const DWARFDebugLoc * DWARFContext::getDebugLoc | ( | ) |
Get a pointer to the parsed DebugLoc object.
Definition at line 688 of file DWARFContext.cpp.
References DObj, llvm::DWARFUnit::getAddressByteSize(), getCompileUnitAtIndex(), getNumCompileUnits(), and isLittleEndian().
Referenced by dump(), and isVariableIndexable().
| const DWARFDebugLocDWO * DWARFContext::getDebugLocDWO | ( | ) |
Get a pointer to the parsed DebugLoc object.
Definition at line 702 of file DWARFContext.cpp.
References DObj, llvm::DWARFUnit::getAddressByteSize(), getCompileUnitAtIndex(), getNumCompileUnits(), and isLittleEndian().
Referenced by dump().
| const DWARFDebugMacro * DWARFContext::getDebugMacro | ( | ) |
Get a pointer to the parsed DebugMacro object.
Definition at line 756 of file DWARFContext.cpp.
References DObj, and isLittleEndian().
Referenced by dump().
| const DWARFDebugNames & DWARFContext::getDebugNames | ( | ) |
Get a reference to the parsed accelerator table object.
Definition at line 780 of file DWARFContext.cpp.
References DObj, getAccelTable(), and isLittleEndian().
Referenced by dump().
Get a DIE given an exact offset.
Definition at line 615 of file DWARFContext.cpp.
Referenced by dump().
| DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress | ( | uint64_t | Address | ) |
Get the compilation unit, the function DIE and lexical block DIE for the given address where applicable.
Definition at line 884 of file DWARFContext.cpp.
References llvm::DWARFDie::addressRangeContainsAddress(), llvm::DWARFContext::DIEsForAddress::BlockDIE, llvm::DWARFContext::DIEsForAddress::CompileUnit, llvm::DWARFContext::DIEsForAddress::FunctionDIE, llvm::DWARFUnit::getSubroutineForAddress(), llvm::DWARFDie::getTag(), and Result.
|
inline |
Definition at line 124 of file DWARFContext.h.
Referenced by dumpAttribute(), dumpLocation(), llvm::DWARFUnit::extractRangeList(), llvm::DWARFUnit::findRnglistFromOffset(), llvm::DWARFDebugAranges::generate(), llvm::DWARFUnit::getAddrOffsetSectionItem(), llvm::DWARFUnit::getCompilationDir(), llvm::DWARFUnit::getDebugInfoExtractor(), llvm::DWARFUnit::getStringOffsetSectionItem(), llvm::DWARFUnitSectionBase::parse(), and llvm::DWARFUnitSectionBase::parseDWO().
|
inline |
Get the compile unit at the specified index for the DWO compile units.
Definition at line 201 of file DWARFContext.h.
| DWARFCompileUnit * DWARFContext::getDWOCompileUnitForHash | ( | uint64_t | Hash | ) |
Definition at line 586 of file DWARFContext.cpp.
References DObj, dwo_compile_units(), getCUIndex(), and llvm::dwarf::toUnsigned().
| std::shared_ptr< DWARFContext > DWARFContext::getDWOContext | ( | StringRef | AbsolutePath | ) |
Definition at line 1071 of file DWARFContext.cpp.
References llvm::consumeError(), create(), llvm::object::ObjectFile::createObjectFile(), DObj, llvm::SmallVectorBase::empty(), and llvm::toStringRef().
Referenced by llvm::DWARFUnit::getCompilationDir().
| const DWARFDebugFrame * DWARFContext::getEHFrame | ( | ) |
Get a pointer to the parsed eh frame information object.
Definition at line 745 of file DWARFContext.cpp.
References DObj, and isLittleEndian().
Referenced by dump().
| DWARFGdbIndex & DWARFContext::getGdbIndex | ( | ) |
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 1006 of file DWARFContext.cpp.
References llvm::DIInliningInfo::addFrame(), llvm::DILineInfo::Column, llvm::DILineInfo::Discriminator, llvm::DILineInfo::FileName, llvm::DILineInfoSpecifier::FLIKind, llvm::DILineInfoSpecifier::FNKind, llvm::DILineInfo::FunctionName, llvm::DWARFDie::getCallerFrame(), llvm::DWARFUnit::getCompilationDir(), llvm::DWARFDie::getDeclLine(), llvm::DWARFDebugLine::LineTable::getFileLineInfoForAddress(), llvm::DWARFDebugLine::LineTable::getFileNameByIndex(), llvm::DWARFUnit::getInlinedChainForAddress(), getLineTableForUnit(), llvm::DWARFDie::getSubroutineName(), if(), llvm::DILineInfo::Line, llvm::None, llvm::SmallVectorBase::size(), and llvm::DILineInfo::StartLine.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 941 of file DWARFContext.cpp.
References llvm::DILineInfoSpecifier::FLIKind, llvm::DILineInfoSpecifier::FNKind, llvm::DILineInfo::FunctionName, llvm::DWARFUnit::getCompilationDir(), getFunctionNameAndStartLineForAddress(), getLineTableForUnit(), llvm::None, Result, and llvm::DILineInfo::StartLine.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 960 of file DWARFContext.cpp.
References llvm::DWARFDebugLine::Row::Address, llvm::DILineInfo::Column, llvm::DWARFDebugLine::Row::Column, llvm::DWARFDebugLine::Row::File, llvm::DILineInfo::FileName, llvm::DILineInfoSpecifier::FLIKind, llvm::DILineInfoSpecifier::FNKind, llvm::DILineInfo::FunctionName, llvm::DWARFUnit::getCompilationDir(), llvm::DWARFDebugLine::LineTable::getFileNameByIndex(), getFunctionNameAndStartLineForAddress(), getLineTableForUnit(), llvm::DILineInfo::Line, llvm::DWARFDebugLine::Row::Line, llvm::DWARFDebugLine::LineTable::lookupAddressRange(), llvm::None, llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), Result, llvm::DWARFDebugLine::LineTable::Rows, and llvm::DILineInfo::StartLine.
|
inline |
Definition at line 277 of file DWARFContext.h.
| 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 807 of file DWARFContext.cpp.
References llvm::Expected< T >::takeError(), and llvm::DWARFDebugLine::warn().
Referenced by dumpAttribute(), getInliningInfoForAddress(), getLineInfoForAddress(), and getLineInfoForAddressRange().
| Expected< const DWARFDebugLine::LineTable * > DWARFContext::getLineTableForUnit | ( | DWARFUnit * | U, |
| std::function< void(Error)> | RecoverableErrorCallback | ||
| ) |
Get a pointer to a parsed line table corresponding to a compile unit.
Report any recoverable parsing problems using the callback.
Definition at line 817 of file DWARFContext.cpp.
References llvm::DWARFSection::Data, DObj, llvm::DWARFUnit::getAddressByteSize(), llvm::DWARFUnit::getLineSection(), llvm::DWARFUnit::getLineTableOffset(), llvm::DWARFUnit::getUnitDIE(), isLittleEndian(), llvm::StringRef::size(), and llvm::dwarf::toSectionOffset().
|
inline |
Definition at line 214 of file DWARFContext.h.
Referenced by dump().
|
inline |
Get the number of compile units in this context.
Definition at line 171 of file DWARFContext.h.
References llvm::SmallVectorBase::size().
Referenced by getDebugLoc(), and getDebugLocDWO().
|
inline |
Get the number of compile units in the DWO context.
Definition at line 183 of file DWARFContext.h.
References llvm::SmallVectorBase::size().
|
inline |
Get the number of compile units in the DWO context.
Definition at line 189 of file DWARFContext.h.
Referenced by dump().
|
inline |
Get the number of compile units in this context.
Definition at line 177 of file DWARFContext.h.
Referenced by dump().
|
inline |
Definition at line 307 of file DWARFContext.h.
References E, llvm::MCRegisterInfo::get(), and llvm::sys::IsLittleEndianHost.
Referenced by dump(), and dumpLocation().
|
inline |
Definition at line 274 of file DWARFContext.h.
| const DWARFUnitIndex & DWARFContext::getTUIndex | ( | ) |
Definition at line 646 of file DWARFContext.cpp.
References DObj, llvm::DW_SECT_TYPES, and isLittleEndian().
Referenced by dump(), and llvm::getDWARFUnitIndex().
|
inline |
Definition at line 300 of file DWARFContext.h.
Referenced by create(), dump(), dumpLocation(), llvm::DWARFDebugAranges::generate(), getAppleNames(), getAppleNamespaces(), getAppleObjC(), getAppleTypes(), getCUIndex(), getDebugAbbrev(), getDebugAbbrevDWO(), getDebugFrame(), getDebugLoc(), getDebugLocDWO(), getDebugMacro(), getDebugNames(), getEHFrame(), getLineTableForUnit(), getTUIndex(), isVariableIndexable(), and llvm::DWARFUnitSectionBase::parseDWO().
Definition at line 301 of file DWARFContext.h.
Referenced by llvm::DWARFUnitHeader::extract().
| Error DWARFContext::loadRegisterInfo | ( | const object::ObjectFile & | Obj | ) |
Loads register info for the architecture of the provided object file.
Improves readability of dumped DWARF expressions. Requires the caller to have initialized the relevant target descriptions.
Definition at line 1601 of file DWARFContext.cpp.
References llvm::Target::createMCRegInfo(), llvm::object::ObjectFile::getArch(), llvm::inconvertibleErrorCode(), llvm::TargetRegistry::lookupTarget(), llvm::Triple::setArch(), llvm::Triple::setOS(), llvm::Triple::setVendor(), llvm::Triple::str(), llvm::Error::success(), llvm::Triple::UnknownOS, and llvm::Triple::UnknownVendor.
|
delete |
|
inline |
Definition at line 216 of file DWARFContext.h.
References function, and llvm::IndexedInstrProf::Version.
Referenced by llvm::DWARFUnitHeader::extract().
|
inline |
Get type units in this context.
Definition at line 153 of file DWARFContext.h.
Referenced by dump().
|
overridevirtual |
Reimplemented from llvm::DIContext.
Definition at line 622 of file DWARFContext.cpp.
References llvm::DIDumpOptions::DumpType, llvm::DWARFVerifier::handleAccelTables(), llvm::DWARFVerifier::handleDebugAbbrev(), llvm::DWARFVerifier::handleDebugInfo(), llvm::DWARFVerifier::handleDebugLine(), and Success.
|
protected |
Definition at line 114 of file DWARFContext.h.
Referenced by create(), dump(), getAppleNames(), getAppleNamespaces(), getAppleObjC(), getAppleTypes(), getCUIndex(), getDebugAbbrev(), getDebugAbbrevDWO(), getDebugFrame(), getDebugLoc(), getDebugLocDWO(), getDebugMacro(), getDebugNames(), getDWOCompileUnitForHash(), getDWOContext(), getEHFrame(), getGdbIndex(), getLineTableForUnit(), and getTUIndex().
1.8.13