Module Binary_emitter_intf
Unified interface for binary emitters (x86 and arm64).
This module defines abstract signatures that both architecture-specific binary emitters implement, allowing ocaml-jit to work with either.
A relocation target: either a symbol or a label.
module type Relocation = sig ... endSignature for relocation types with operations to evaluate them.
module type Assembled_section = sig ... endSignature for assembled section types with operations.
module type Internal_assembler_hook = sig ... endInternal assembler hook for JIT support. When set, the binary emitter will call this function with assembled sections instead of (or in addition to) writing to a file.
module type S = sig ... endCombined signature that each architecture's binary emitter provides.