Aligns Addr to Alignment bytes, rounding up.

Synopsis

Declared in <llvm/Support/Alignment.h>

uintptr_t
alignAddr(
    void const* Addr,
    Align Alignment);

Return Value

Addr rounded up to the next multiple of Alignment.

Parameters

Name

Description

Addr

Address to align.

Alignment

Alignment to round up to.

Created with MrDocs