[erlang-questions] [PATCH] compiler 'log' option
Jachym Holecek
jachym.holecek@REDACTED
Mon Jul 14 15:04:41 CEST 2008
Hello,
the attached patch (against R12B3) adds compiler 'log' option
that causes compiler to dump detailed info about all compile
passes to ${source}.log. This is useful if you want to track
code transforms (which in turn is useful when one wants to
learn about compiler internals).
The output file is , of course, file:consult()able. I'm aware
the compiler already has options to dump some specific passes
(short-circuiting compilation as a side-effect), what I was
after was a complete log of all transformations during full
build cycle.
I guess this could be of use to some people out there...
-- Jachym
PS: I wanted to patch the documentation as well, but I don't
know what's the primary source thereof?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile.erl.diff
Type: application/octet-stream
Size: 2700 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080714/1c013613/attachment.obj>
More information about the erlang-questions
mailing list