A class that represents an address range. The range is specified using a start and an end address: [Start, End).]

Synopsis

Declared in <llvm/ADT/AddressRanges.h>

class AddressRange;

Member Functions

Name

Description

AddressRange [constructor]

Constructors

contains

contains overloads

empty

Return true if the range contains no addresses.

end

Return the exclusive end address.

intersects

Return true if this range and R share any address.

size

Return the number of addresses in the range.

start

Return the inclusive start address.

operator==

Return true if both ranges have the same start and end.

operator!=

Return true if the ranges differ in start or end.

operator<

Order ranges by (start, end) lexicographically.

Non-Member Functions

Name

Description

gsym::decodeRange

Decode an AddressRange from a binary data stream.

gsym::encodeRange

Encode an AddressRange into a binary stream relative to a base address.

Created with MrDocs