LLVM
8.0.1
|
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
Classes | |
struct | Entry |
struct | LocationList |
Public Member Functions | |
void | parse (DataExtractor data, unsigned Version) |
void | dump (raw_ostream &OS, uint64_t BaseAddr, 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, unsigned *Offset, unsigned Version) |
Definition at line 76 of file DWARFDebugLoc.h.
void DWARFDebugLoclists::dump | ( | raw_ostream & | OS, |
uint64_t | BaseAddr, | ||
const MCRegisterInfo * | RegInfo, | ||
Optional< uint64_t > | Offset | ||
) | const |
Definition at line 261 of file DWARFDebugLoc.cpp.
References llvm::format(), and llvm::DWARFDebugLoc::getLocationListAtOffset().
Referenced by llvm::DWARFContext::dump(), and dumpLoclistsSection().
DWARFDebugLoclists::LocationList const * DWARFDebugLoclists::getLocationListAtOffset | ( | uint64_t | Offset | ) | const |
Return the location list at the given offset or nullptr.
Definition at line 215 of file DWARFDebugLoc.cpp.
References llvm::lower_bound(), and llvm::DWARFDebugLoc::LocationList::Offset.
void DWARFDebugLoclists::parse | ( | DataExtractor | data, |
unsigned | Version | ||
) |
Definition at line 201 of file DWARFDebugLoc.cpp.
References llvm::DataExtractor::getAddressSize(), llvm::DataExtractor::isLittleEndian(), llvm::DataExtractor::isValidOffset(), llvm::DWARFDebugLoc::LocationList::Offset, and llvm::DWARFDebugLoc::parseOneLocationList().
Referenced by dumpLoclistsSection().
|
static |
Definition at line 148 of file DWARFDebugLoc.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::copy(), llvm::dwarf::DW_LLE_base_address, llvm::dwarf::DW_LLE_offset_pair, llvm::dwarf::DW_LLE_start_length, llvm::dwarf::DW_LLE_startx_length, E, llvm::DWARFDebugLoclists::LocationList::Entries, llvm::WithColor::error(), llvm::DataExtractor::getAddress(), llvm::DataExtractor::getData(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU32(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), llvm::DWARFDebugLoclists::Entry::Kind, Kind, llvm::DWARFDebugLoclists::Entry::Loc, llvm::None, llvm::DWARFDebugLoc::LocationList::Offset, llvm::DWARFDebugLoclists::LocationList::Offset, llvm::SmallVectorImpl< T >::resize(), llvm::StringRef::size(), llvm::StringRef::substr(), llvm::DWARFDebugLoclists::Entry::Value0, and llvm::DWARFDebugLoclists::Entry::Value1.
Referenced by dumpLocation().