|
LLVM
7.0.0
|
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
Classes | |
| struct | Entry |
| struct | LocationList |
Public Member Functions | |
| void | parse (DataExtractor data) |
| void | dump (raw_ostream &OS, const MCRegisterInfo *RegInfo, Optional< uint64_t > Offset) const |
| LocationList const * | getLocationListAtOffset (uint64_t Offset) const |
| Return the location list at the given offset or nullptr. More... | |
Static Public Member Functions | |
| static Optional< LocationList > | parseOneLocationList (DataExtractor Data, uint32_t *Offset) |
Definition at line 76 of file DWARFDebugLoc.h.
| void DWARFDebugLocDWO::dump | ( | raw_ostream & | OS, |
| const MCRegisterInfo * | RegInfo, | ||
| Optional< uint64_t > | Offset | ||
| ) | const |
Definition at line 212 of file DWARFDebugLoc.cpp.
References llvm::format(), and llvm::DWARFDebugLoc::getLocationListAtOffset().
Referenced by llvm::DWARFContext::dump().
| DWARFDebugLocDWO::LocationList const * DWARFDebugLocDWO::getLocationListAtOffset | ( | uint64_t | Offset | ) | const |
Return the location list at the given offset or nullptr.
Definition at line 191 of file DWARFDebugLoc.cpp.
References llvm::lower_bound(), and llvm::DWARFDebugLoc::LocationList::Offset.
| void DWARFDebugLocDWO::parse | ( | DataExtractor | data | ) |
Definition at line 177 of file DWARFDebugLoc.cpp.
References llvm::DataExtractor::getAddressSize(), llvm::DataExtractor::isLittleEndian(), llvm::DataExtractor::isValidOffset(), llvm::DWARFDebugLoc::LocationList::Offset, and llvm::DWARFDebugLoc::parseOneLocationList().
|
static |
Definition at line 148 of file DWARFDebugLoc.cpp.
References llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::copy(), llvm::dwarf::DW_LLE_startx_length, E, llvm::StringRef::end(), llvm::DWARFDebugLocDWO::LocationList::Entries, llvm::WithColor::error(), llvm::DataExtractor::getData(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU32(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), Kind, llvm::DWARFDebugLocDWO::Entry::Length, llvm::DWARFDebugLocDWO::Entry::Loc, llvm::None, llvm::DWARFDebugLoc::LocationList::Offset, llvm::DWARFDebugLocDWO::LocationList::Offset, llvm::SmallVectorImpl< T >::resize(), llvm::StringRef::size(), llvm::DWARFDebugLocDWO::Entry::Start, and llvm::StringRef::substr().
Referenced by dumpLocation().
1.8.13