[MLton] Profiling...

Matthew Fluet fluet@cs.cornell.edu
Mon Aug 7 22:17:25 PDT 2006


> Something doesn't seem to be working.  If I run the mlton-compile.alloc that I
> find in the /mlton directory, I get the following:
>
>> ../mlton/mlton-compile.alloc -prof-pass ssaSimplify test.sml
> unhandled exception: Fail: usage: exportMLton worldFile
>
> If I don't give it the -prof-pass option it terminates too quickly to have done
> anything.  If I instead use the build/bin/mlton.alloc, nothing happens.  It
> turns out that build/bin/mlton.alloc is 0 bytes.
>
> What am I doing wrong?

Use
  /build/bin/mlton.alloc
not
  /build/lib/mlton-compile.alloc




More information about the MLton mailing list