llvm::jitlink::makeAlignmentError

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

Synopsis

Declared in <llvm/ExecutionEngine/JITLink/JITLink.h>

Error
makeAlignmentError(
    llvm::orc::ExecutorAddr Loc,
    uint64_t Value,
    int N,
    Edge const& E);

Return Value

An error describing the misaligned fixup.

Parameters

NameDescription
LocAddress of the misaligned fixup.
ValueValue that failed the alignment check.
NRequired alignment in bytes.
EEdge associated with the alignment failure.