[MLton-user] From machine code back to the source code

Florian Weimer fw@deneb.enyo.de
Fri, 27 May 2005 20:49:56 +0200


For various reasons (checking code quality, running oprofile) I'd like
to find the approximate source code to parts of the machine code MLton
has emitted.

Is it possible to instruct MLton to add comments with source location
information to the assembler file (or produce a map file)?  At least
when profiling information is generated, this data has to be stored
somewhere.