llvm::DWARFLocationTable::visitAbsoluteLocationList

Visit each absolute location expression in the list at Offset.

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFDebugLoc.h>

Error
visitAbsoluteLocationList(
    uint64_t Offset,
    std::optional<object::SectionedAddress> BaseAddr,
    std::function<std::optional<object::SectionedAddress>(uint32_t)> LookupAddr,
    function_ref<bool(Expected<DWARFLocationExpression>)> Callback) const;

Return Value

Success, or an error if the location list could not be parsed.

Parameters

NameDescription
OffsetByte offset of the location list within the section.
BaseAddrOptional base address for resolving relative entries.
LookupAddrResolves an address index to a sectioned address.
CallbackInvoked for each resolved expression or resolution error.