LLVM
8.0.1
|
Represents a single accelerator table within the Dwarf 5 .debug_names section. More...
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
Friends | |
class | DWARFDebugNames |
Represents a single accelerator table within the Dwarf 5 .debug_names section.
Definition at line 386 of file DWARFAcceleratorTable.h.
|
inline |
Definition at line 418 of file DWARFAcceleratorTable.h.
References llvm::DWARFAcceleratorTable::Entry::getCUOffset().
|
inline |
Definition at line 460 of file DWARFAcceleratorTable.h.
LLVM_DUMP_METHOD void DWARFDebugNames::NameIndex::dump | ( | ScopedPrinter & | W | ) | const |
Definition at line 738 of file DWARFAcceleratorTable.cpp.
References llvm::None, llvm::ScopedPrinter::startLine(), and llvm::Twine::utohexstr().
|
inline |
Definition at line 461 of file DWARFAcceleratorTable.h.
References llvm::DWARFAcceleratorTable::extract().
iterator_range< DWARFDebugNames::ValueIterator > DWARFDebugNames::NameIndex::equal_range | ( | StringRef | Key | ) | const |
Look up all entries in this Name Index matching Key
.
Definition at line 770 of file DWARFAcceleratorTable.cpp.
References llvm::make_range(), and llvm::AppleAcceleratorTable::ValueIterator::ValueIterator().
Referenced by isVariableIndexable().
Error DWARFDebugNames::NameIndex::extract | ( | ) |
Definition at line 484 of file DWARFAcceleratorTable.cpp.
References llvm::DWARFDebugNames::Abbrev::Attributes, llvm::createStringError(), E, llvm::DWARFAcceleratorTable::Entry::Entry(), llvm::illegal_byte_sequence, llvm::invalid_argument, isSentinel(), llvm::DataExtractor::isValidOffsetForDataOfSize(), llvm::ARMBuildAttrs::Section, and llvm::Error::success().
Referenced by llvm::DWARFDebugNames::extract().
|
inline |
Definition at line 451 of file DWARFAcceleratorTable.h.
Reads an entry in the Bucket Array for the given Bucket.
The returned value is a (1-based) index into the Names, StringOffsets and EntryOffsets arrays. The input Bucket index is 0-based.
Definition at line 638 of file DWARFAcceleratorTable.cpp.
References assert(), and llvm::ARMBuildAttrs::Section.
|
inline |
Definition at line 437 of file DWARFAcceleratorTable.h.
|
inline |
Definition at line 423 of file DWARFAcceleratorTable.h.
Referenced by llvm::DWARFDebugNames::Entry::getCUIndex(), llvm::DWARFDebugNames::Entry::getCUOffset(), and getNames().
Reads offset of compilation unit CU. CU is 0-based.
Definition at line 580 of file DWARFAcceleratorTable.cpp.
References assert(), and llvm::ARMBuildAttrs::Section.
Referenced by llvm::DWARFDebugNames::Entry::getCUOffset(), and getNames().
Expected< DWARFDebugNames::Entry > DWARFDebugNames::NameIndex::getEntry | ( | uint32_t * | Offset | ) | const |
Definition at line 599 of file DWARFAcceleratorTable.cpp.
References llvm::createStringError(), llvm::dwarf::DWARF32, E, llvm::DataExtractor::getULEB128(), llvm::illegal_byte_sequence, llvm::invalid_argument, llvm::io_error, llvm::DataExtractor::isValidOffset(), llvm::ARMBuildAttrs::Section, llvm::DWARFAcceleratorTable::Entry::Values, and llvm::dwarf::FormParams::Version.
Referenced by getNames().
|
inline |
Definition at line 431 of file DWARFAcceleratorTable.h.
Referenced by getNames().
uint64_t DWARFDebugNames::NameIndex::getForeignTUSignature | ( | uint32_t | TU | ) | const |
Reads signature of foreign type unit TU. TU is 0-based.
Definition at line 592 of file DWARFAcceleratorTable.cpp.
References assert(), and llvm::ARMBuildAttrs::Section.
Reads an entry in the Hash Array for the given Index.
The input Index is 1-based.
Definition at line 644 of file DWARFAcceleratorTable.cpp.
References assert(), llvm::DWARFDebugNames::Abbrev::dump(), llvm::format(), llvm::DWARFDebugNames::NameTableEntry::getEntryOffset(), llvm::DWARFDebugNames::NameTableEntry::getIndex(), llvm::ScopedPrinter::getOStream(), llvm::DWARFDebugNames::NameTableEntry::getString(), llvm::DWARFDebugNames::NameTableEntry::getStringOffset(), llvm::handleAllErrors(), llvm::ScopedPrinter::printHex(), llvm::ScopedPrinter::printString(), llvm::ARMBuildAttrs::Section, llvm::ScopedPrinter::startLine(), llvm::Twine::utohexstr(), and llvm::RISCVFenceField::W.
|
inline |
Definition at line 427 of file DWARFAcceleratorTable.h.
Referenced by getNames().
Reads offset of local type unit TU, TU is 0-based.
Definition at line 586 of file DWARFAcceleratorTable.cpp.
References assert(), and llvm::ARMBuildAttrs::Section.
|
inline |
Definition at line 449 of file DWARFAcceleratorTable.h.
DWARFDebugNames::NameTableEntry DWARFDebugNames::NameIndex::getNameTableEntry | ( | uint32_t | Index | ) | const |
Reads an entry in the Name Table for the given Index.
The Name Table consists of two arrays – String Offsets and Entry Offsets. The returned offsets are relative to the starts of respective sections. Input Index is 1-based.
Definition at line 625 of file DWARFAcceleratorTable.cpp.
References assert(), and llvm::ARMBuildAttrs::Section.
Referenced by llvm::DWARFDebugNames::NameIterator::operator*().
|
inline |
Definition at line 465 of file DWARFAcceleratorTable.h.
References llvm::DWARFAcceleratorTable::dump().
Referenced by llvm::DWARFDebugNames::extract().
|
inline |
Definition at line 464 of file DWARFAcceleratorTable.h.
Referenced by getNames(), and isVariableIndexable().
|
friend |
Definition at line 468 of file DWARFAcceleratorTable.h.