A parser for the DWARF .debug_loc section (pre‐DWARF5 location lists).

Synopsis

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

class DWARFDebugLoc final
    : public DWARFLocationTable

Base Classes

Name

Description

DWARFLocationTable

Table of DWARF location list entries for a unit.

Types

Name

Description

LocationList

A list of locations that contain one variable.

Member Functions

Name

Description

DWARFDebugLoc [constructor]

Construct a .debug_loc parser over the given section data.

dump

Print the location lists found within the debug_loc section.

dumpLocationList

Dump the location list at the given Offset.

getData

Return the underlying location‐list section data.

visitAbsoluteLocationList

Visit each absolute location expression in the list at Offset.

visitLocationList [virtual]

Visit each entry in a .debug_loc location list starting at Offset.

Protected Member Functions

Name

Description

dumpRawEntry [virtual]

Dump a single raw .debug_loc location‐list entry.

Protected Data Members

Name

Description

Data

Extractor for the location‐list section contents.

Created with MrDocs