LLVM
15.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
Classes | |
struct | LocationList |
A list of locations that contain one variable. More... | |
Protected Member Functions | |
void | dumpRawEntry (const DWARFLocationEntry &Entry, raw_ostream &OS, unsigned Indent, DIDumpOptions DumpOpts, const DWARFObject &Obj) const override |
Additional Inherited Members | |
![]() | |
DWARFDataExtractor | Data |
Definition at line 89 of file DWARFDebugLoc.h.
|
inline |
Definition at line 108 of file DWARFDebugLoc.h.
void DWARFDebugLoc::dump | ( | raw_ostream & | OS, |
const MCRegisterInfo * | RegInfo, | ||
const DWARFObject & | Obj, | ||
DIDumpOptions | DumpOpts, | ||
Optional< uint64_t > | Offset | ||
) | const |
Print the location lists found within the debug_loc section.
Definition at line 187 of file DWARFDebugLoc.cpp.
References llvm::DWARFLocationTable::Data, llvm::DWARFLocationTable::dumpLocationList(), llvm::DataExtractor::isValidOffset(), MRI, and llvm::None.
Referenced by llvm::DWARFContext::dump().
|
overrideprotectedvirtual |
Implements llvm::DWARFLocationTable.
Definition at line 250 of file DWARFDebugLoc.cpp.
|
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 210 of file DWARFDebugLoc.cpp.
References llvm::DWARFLocationTable::Data, E, llvm::DataExtractor::getAddressSize(), llvm::DWARFDataExtractor::getRelocatedAddress(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU8(), and llvm::Error::success().