LLVM 22.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
Protected Member Functions | |
void | dumpRawEntry (const DWARFLocationEntry &Entry, raw_ostream &OS, unsigned Indent, DIDumpOptions DumpOpts, const DWARFObject &Obj) const override |
Additional Inherited Members | |
Protected Attributes inherited from llvm::DWARFLocationTable | |
DWARFDataExtractor | Data |
Definition at line 126 of file DWARFDebugLoc.h.
|
inline |
Definition at line 128 of file DWARFDebugLoc.h.
References llvm::DWARFLocationTable::Data, llvm::DWARFLocationTable::DWARFLocationTable(), and llvm::move().
void DWARFDebugLoclists::dumpRange | ( | uint64_t | StartOffset, |
uint64_t | Size, | ||
raw_ostream & | OS, | ||
const DWARFObject & | Obj, | ||
DIDumpOptions | DumpOpts ) |
Dump all location lists within the given range.
Definition at line 388 of file DWARFDebugLoc.cpp.
References llvm::DWARFLocationTable::Data, dumpLocationList(), llvm::Offset, and Size.
|
overrideprotectedvirtual |
Implements llvm::DWARFLocationTable.
Definition at line 342 of file DWARFDebugLoc.cpp.
References assert(), llvm::DWARFLocationTable::Data, llvm::StringRef::data(), llvm::DWARFFormValue::dumpAddressSection(), llvm::StringRef::empty(), llvm::format(), llvm::format_hex(), llvm::raw_ostream::indent(), and llvm::dwarf::LocListEncodingString().
|
overridevirtual |
Call the user-provided callback for each entry (including the end-of-list entry) in the location list starting at Offset
.
The callback can return false to terminate the iteration early. Returns an error if it was unable to parse the entire location list correctly. Upon successful termination Offset
will be updated point past the end of the list.
Implements llvm::DWARFLocationTable.
Definition at line 275 of file DWARFDebugLoc.cpp.
References llvm::CallingConv::C, llvm::cantFail(), llvm::Continue, llvm::createStringError(), llvm::DWARFLocationTable::Data, F, llvm::illegal_byte_sequence, llvm::DWARFLocationEntry::Kind, llvm::Offset, llvm::Error::success(), and llvm::SectionedAddress::UndefSection.