Add new flag for unarised STG dumps
Previously -ddump-stg would dump pre and post-unarise STGs. Now we have a new flag for post-unarise STG and -ddump-stg only dumps coreToStg output. STG dump flags after this commit: - -ddump-stg: Dumps CoreToStg output - -ddump-stg-unarised: Unarise output - -ddump-stg-final: STG right before code gen (includes CSE and lambda lifting)
Showing
- compiler/main/DynFlags.hs 5 additions, 2 deletionscompiler/main/DynFlags.hs
- compiler/main/HscMain.hs 1 addition, 2 deletionscompiler/main/HscMain.hs
- compiler/simplStg/SimplStg.hs 6 additions, 5 deletionscompiler/simplStg/SimplStg.hs
- docs/users_guide/debugging.rst 8 additions, 2 deletionsdocs/users_guide/debugging.rst
- testsuite/tests/simplCore/should_compile/noinline01.stderr 1 addition, 34 deletionstestsuite/tests/simplCore/should_compile/noinline01.stderr
Loading
Please register or sign in to comment