Allow redirection of -ddump-* to file
authorBen.Lippmeier@anu.edu.au <unknown>
Tue, 21 Aug 2007 16:31:10 +0000 (16:31 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Tue, 21 Aug 2007 16:31:10 +0000 (16:31 +0000)
commita8dc65d6582cc8dda6a1de2862e2d6da80a78d0c
treeae106c710c4291102694e75c8d321614d3f66d86
parent55fe426859d8e9922e46821e52cff150d5628253
Allow redirection of -ddump-* to file
Whilst compiling Main.hs with -ddump-stg, ddump-asm and friends
you can how add -ddump-to-file and you'll get the dumps redirected
to Main.dump-stg, Main.dump-asm etc.
compiler/main/DriverPipeline.hs
compiler/main/DynFlags.hs
compiler/main/ErrUtils.lhs
compiler/utils/Outputable.lhs