Personal tools

Yhc/Debug flags

From HaskellWiki

< Yhc(Difference between revisions)
Jump to: navigation, search
m (Yhc/Hacking/Debug Flags moved to Yhc/Debug Flags)
m (Yhc/Debug Flags moved to Yhc/Debug flags)
 

Latest revision as of 22:08, 20 February 2006

Part of Yhc

(Download)

A number of debug flags are available to help when hacking the compiler. These have varying names and are numerous, I propose a change. This page documents the proposed change, not the existing set of flags.

Flags

-code=* - show the code at all available stages. Values such as -code=rename,type would show the code at the rename and type stages.

-st=... - same as code, for the symbol table

-bc=... - same as byte code, but different values for the stages

Thoughts?