Fix: #12084 deprecate old profiling flags
ClosedPublic

Authored by seraphime on May 22 2016, 10:54 AM.

Details

Summary

Change help message so it doesn't specify -auto-all.
Make old profiling flags deprecated as they are no longer
documented.
Update Makefile and documentation accordingly.
Update release notes for ghc 8.2

Test Plan

./verify; ghc --help shouldn't specify the -auto-all
flag. Furthermore ghc -fprof -auto-all should emit a warning

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
seraphime retitled this revision from to Fix: #12084 deprecate old profiling flags.May 22 2016, 10:54 AM
seraphime updated this object.
seraphime edited the test plan for this revision. (Show Details)
seraphime updated the Trac tickets for this revision.May 22 2016, 10:55 AM
thomie accepted this revision.May 22 2016, 11:08 AM
thomie added a reviewer: thomie.

Looks good to me, thanks.

Please provide you changes to nofib somewhere (github clone, or attach the result of git format-patch HEAD^ to the Trac ticket).

Bytestring changes should go here: https://github.com/haskell/bytestring.

This revision is now accepted and ready to land.May 22 2016, 11:08 AM

Here is the patch for nofib. I'll make shortly a pull request to the bytestring repository.

austin accepted this revision.May 24 2016, 3:25 PM

Great job, thanks. We should honestly probably merge nofib into ghc.git at some point tbh...

This revision was automatically updated to reflect the committed changes.