llvm::ConstantPtrAuth::get

Return a pointer signed with the specified parameters.

Synopsis

Declared in <llvm/IR/Constants.h>

static
ConstantPtrAuth*
get(
    Constant* Ptr,
    ConstantInt* Key,
    ConstantInt* Disc,
    Constant* AddrDisc,
    Constant* DeactivationSymbol);

Return Value

A pointer signed with the specified parameters.

Parameters

NameDescription
PtrThe pointer to sign.
KeyThe ptrauth key ID.
DiscThe integer discriminator.
AddrDiscThe address discriminator, or null.
DeactivationSymbolOptional deactivation symbol constant.