Module For_jit.Assembled_section
type t = buffertype relocation = Relocation.tval size : t -> intval contents : t -> stringval contents_mut : t -> bytesval relocations : t -> relocation listval find_symbol_offset : t -> Asm_targets.Asm_symbol.t -> int optionFind the offset of a symbol within this section
val find_label_offset : t -> Asm_targets.Asm_label.t -> int optionFind the offset of a label within this section
val iter_labels_and_symbols :
t ->
f:(Binary_emitter_intf.target -> offset:int -> unit) ->
unitIterate over all symbols and labels defined in this section
val add_patch :
t ->
offset:int ->
size:Binary_emitter_intf.data_size ->
data:int64 ->
unitPatch bytes at the given offset