|
LLVM
5.0.0
|
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
Public Member Functions | |
| DWARFAcceleratorTable (const DWARFDataExtractor &AccelSection, DataExtractor StringSection) | |
| bool | extract () |
| uint32_t | getNumBuckets () |
| uint32_t | getNumHashes () |
| uint32_t | getSizeHdr () |
| uint32_t | getHeaderDataLength () |
| ArrayRef< std::pair < HeaderData::AtomType, HeaderData::Form > > | getAtomsDesc () |
| bool | validateForms () |
| uint32_t | readAtoms (uint32_t &HashDataOffset) |
| Return information related to the DWARF DIE we're looking for when performing a lookup by name. More... | |
| void | dump (raw_ostream &OS) const |
Definition at line 24 of file DWARFAcceleratorTable.h.
|
inline |
Definition at line 48 of file DWARFAcceleratorTable.h.
| LLVM_DUMP_METHOD void DWARFAcceleratorTable::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 104 of file DWARFAcceleratorTable.cpp.
References llvm::dwarf::AtomTypeString(), llvm::Data, for(), llvm::format(), llvm::dwarf::FormEncodingString(), llvm::DataExtractor::getCStr(), llvm::DWARFDataExtractor::getRelocatedValue(), llvm::DataExtractor::getU32(), fuzzer::Hash(), llvm::DataExtractor::isValidOffset(), llvm::DataExtractor::isValidOffsetForDataOfSize(), and llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back().
Referenced by dumpAccelSection().
| bool DWARFAcceleratorTable::extract | ( | ) |
Definition at line 26 of file DWARFAcceleratorTable.cpp.
References llvm::DataExtractor::getU16(), llvm::DataExtractor::getU32(), and llvm::DataExtractor::isValidOffset().
Referenced by dumpAccelSection().
| ArrayRef< std::pair< DWARFAcceleratorTable::HeaderData::AtomType, DWARFAcceleratorTable::HeaderData::Form > > DWARFAcceleratorTable::getAtomsDesc | ( | ) |
Definition at line 67 of file DWARFAcceleratorTable.cpp.
Referenced by readAtoms(), and validateForms().
| uint32_t DWARFAcceleratorTable::getHeaderDataLength | ( | ) |
Definition at line 61 of file DWARFAcceleratorTable.cpp.
| uint32_t DWARFAcceleratorTable::getNumBuckets | ( | ) |
Definition at line 58 of file DWARFAcceleratorTable.cpp.
| uint32_t DWARFAcceleratorTable::getNumHashes | ( | ) |
Definition at line 59 of file DWARFAcceleratorTable.cpp.
| uint32_t DWARFAcceleratorTable::getSizeHdr | ( | ) |
Definition at line 60 of file DWARFAcceleratorTable.cpp.
Return information related to the DWARF DIE we're looking for when performing a lookup by name.
| HashDataOffset | an offset into the hash data table |
Definition at line 87 of file DWARFAcceleratorTable.cpp.
References llvm::dwarf::DW_ATOM_die_offset, llvm::dwarf::DW_INVALID_OFFSET, llvm::DWARFFormValue::extractValue(), llvm::DWARFFormValue::getAsUnsignedConstant(), and getAtomsDesc().
| bool DWARFAcceleratorTable::validateForms | ( | ) |
Definition at line 71 of file DWARFAcceleratorTable.cpp.
References llvm::dwarf::DW_ATOM_die_offset, llvm::DWARFFormValue::FC_Constant, llvm::DWARFFormValue::FC_Flag, getAtomsDesc(), llvm::DWARFFormValue::getForm(), and llvm::DWARFFormValue::isFormClass().
1.8.6