Module Arm64_binary_emitter.Binary_emitter
module Section_state = Section_stateval create : unit -> tval add_instruction : t -> Arm64_ast.Ast.Instruction.t -> unitval add_directive : t -> Asm_targets.Asm_directives.Directive.t -> unitval emit : ?for_jit:bool -> t -> All_section_states.tval dump_instructions : t -> unitmodule For_jit :
Binary_emitter_intf.S
with type Assembled_section.t = Section_state.t
and type Relocation.t = Relocation.tModule implementing Binary_emitter_intf.S for use by ocaml-jit
module Encode_directive : sig ... endval emit_relocs_for_all_symbol_refs : bool refWhen true, emit relocations for ALL 8-byte symbol references (matching assembler behavior). When false, only emit relocations for cross-section references and resolve same-section refs at emit time. Set to true for verification against the assembler.