llvm::CHERICapabilityFormatBase::getRepresentableLength

Returns Length rounded up to the nearest representable allocation length.

Synopsis

Declared in <llvm/Support/CHERICapabilityFormat.h>

static
AddressType
getRepresentableLength(AddressType Length);

Return Value

The smallest representable length at least Length.

Parameters

NameDescription
LengthRequested allocation size in bytes.