diff options
Diffstat (limited to 'bytecomp/emitcode.mli')
-rw-r--r-- | bytecomp/emitcode.mli | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bytecomp/emitcode.mli b/bytecomp/emitcode.mli index 481ad506b1..226f869971 100644 --- a/bytecomp/emitcode.mli +++ b/bytecomp/emitcode.mli @@ -42,6 +42,7 @@ type compilation_unit = magic number (Config.cmo_magic_number) absolute offset of compilation unit descriptor block of relocatable bytecode + debugging information if any compilation unit descriptor *) (* Descriptor for libraries *) @@ -75,4 +76,10 @@ val to_memory: instruction list -> instruction list -> block of relocatable bytecode size of this block relocation information *) - +val to_packed_file: + out_channel -> instruction list -> (reloc_info * int) list + (* Arguments: + channel on output file + list of instructions to emit + Result: + relocation information (reversed) *) |