Represents an address in the executor process.

Synopsis

Declared in <llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h>

class ExecutorAddr;

Types

Name

Description

Tag

Merges a tag into the raw address value: P' = P | (TagValue << TagOffset).

Untag

Strips a tag of the given length from the given offset within the pointer: P' = P & ~(((1 << TagLen) ‐1) << TagOffset)

Type Aliases

Name

Description

defaultUnwrap

Default unwrap function to use on this host.

defaultWrap

Default wrap function to use on this host.

rawPtr

A wrap/unwrap function that leaves pointers unmodified.

Member Functions

Name

Description

ExecutorAddr [constructor]

Constructors

getValue

Return the raw address value.

isNull

Return true if this address is null.

operator++

Increment operators

operator+=

Advance this address by Delta bytes.

operator‐‐

Decrement operators

operator‐=

Retreat this address by Delta bytes.

setValue

Set the raw address value to Addr.

toPtr

toPtr overloads

operator bool

Return true if this address is non‐null.

Static Member Functions

Name

Description

fromPtr

Create an ExecutorAddr from the given pointer. Warning: This should only be used when JITing in‐process.

Friends

Name

Description

llvm::orc::operator>=

Return true if LHS is greater than or equal to RHS.

llvm::orc::operator>

Return true if LHS is greater than RHS.

llvm::orc::operator<=

Return true if LHS is less than or equal to RHS.

llvm::orc::operator<

Return true if LHS is less than RHS.

llvm::orc::operator!=

Return true if LHS and RHS have different values.

llvm::orc::operator==

Return true if LHS and RHS have the same value.

Non-Member Functions

Name

Description

operator%

Taking the modulus of an address and a diff yields a diff.

operator+

Adding an offset and an address yields an address.

operator+

Adding an address and an offset yields an address.

operator‐

Subtracting two addresses yields an offset.

operator‐

Subtracting an offset from an address yields an address.

::llvm::jitlink::alignToBlock

Align an executor address to conform with block alignment requirements.

::llvm::jitlink::makeAlignmentError

Create an alignment error for a fixup at the given location.

Created with MrDocs