LLVM: llvm::DWARFAddressRange Struct Reference (original) (raw)

#include "[llvm/DebugInfo/DWARF/DWARFAddressRange.h](DWARFAddressRange%5F8h%5Fsource.html)"

Public Member Functions
DWARFAddressRange ()=default
DWARFAddressRange (uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex=object::SectionedAddress::UndefSection)
Used for unit testing.
bool valid () const
Returns true if LowPC is smaller or equal to HighPC.
bool intersects (const DWARFAddressRange &RHS) const
Returns true if [LowPC, HighPC) intersects with [RHS.LowPC, RHS.HighPC).
bool merge (const DWARFAddressRange &RHS)
Union two address ranges if they intersect.
LLVM_ABI void dump (raw_ostream &OS, uint32_t AddressSize, DIDumpOptions DumpOpts={}, const DWARFObject *Obj=nullptr) const

Definition at line 26 of file DWARFAddressRange.h.

llvm::DWARFAddressRange::DWARFAddressRange ( ) default

DWARFAddressRange() [2/2]

dump()

intersects()

merge()

Union two address ranges if they intersect.

This function will union two address ranges if they intersect by modifying this range to be the union of both ranges. If the two ranges don't intersect this range will be left alone.

Parameters

RHS Another address range to combine with.

Returns

false if the ranges don't intersect, true if they do and the ranges were combined.

Definition at line 64 of file DWARFAddressRange.h.

References DWARFAddressRange(), HighPC, intersects(), LowPC, and RHS.

valid()

bool llvm::DWARFAddressRange::valid ( ) const inline

HighPC

uint64_t llvm::DWARFAddressRange::HighPC

LowPC

SectionIndex

uint64_t llvm::DWARFAddressRange::SectionIndex


The documentation for this struct was generated from the following files: