An absolute address range [LowPC, HighPC) within a section.]

Synopsis

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

struct DWARFAddressRange;

Member Functions

Name

Description

DWARFAddressRange [constructor]

Constructors

dump

Print this address range to OS using AddressSize‐byte addresses.

intersects

Returns true if [LowPC, HighPC) intersects with [RHS.LowPC, RHS.HighPC).]]

merge

Union two address ranges if they intersect.

valid

Returns true if LowPC is smaller or equal to HighPC. This accounts for dead‐stripped ranges.

Data Members

Name

Description

HighPC

Exclusive end address of the range (addresses in [LowPC, HighPC)).]

LowPC

Inclusive start address of the range (addresses in [LowPC, HighPC)).]

SectionIndex

Section index for LowPC/HighPC, or UndefSection if absolute/unknown.

Non-Member Functions

Name

Description

operator<

Order by section index, then LowPC, then HighPC.

operator==

True if both ranges have the same section index, LowPC, and HighPC.

Created with MrDocs