[Haskell-cafe] How to read -ddump-hi output (and other phases) from GHC

Alistair Bayley alistair at abayley.org
Mon Jun 4 17:08:36 EDT 2007


I'm collecting links to documents describing some of GHC's
optimisation output flags, like -ddump-hi and -ddump-simpl. I'll add
stuff to this wiki page:
  http://www.haskell.org/haskellwiki/Performance/GHC

So far I've found little bits in the GHC manual, like:

4.16.3. How to read Core syntax
http://www.haskell.org/ghc/docs/latest/html/users_guide/options-debugging.html#id3130643

(and the Encoding module has the actual rules for the Unique names)
http://darcs.haskell.org/ghc/compiler/utils/Encoding.hs

6.2. Faster: producing a program that runs quicker
http://www.haskell.org/ghc/docs/latest/html/users_guide/faster.html
(see "How do I find out a function's strictness?")

Any other hints?

Alistair


More information about the Haskell-Cafe mailing list