Returns the necessary adjustment for aligning Addr to Alignment bytes, rounding up.
Synopsis
Declared in <llvm/Support/Alignment.h>
uint64_t
offsetToAlignedAddr(
void const* Addr,
Align Alignment);
Return Value
The number of bytes to add to Addr to reach the next aligned address.
Parameters
Name |
Description |
Addr |
Address to align. |
Alignment |
Alignment to round up to. |
Created with MrDocs