Fix: #12084 deprecate old profiling flags
authorSeraphime Kirkovski <kirkseraph@gmail.com>
Tue, 24 May 2016 20:30:09 +0000 (22:30 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Tue, 24 May 2016 21:49:21 +0000 (23:49 +0200)
commit1956cbf13bd2138500daebd5f1f0a4931d8710ec
treee05db790e1db401fd7292d78334aa56738a3e362
parentfe8a4e5d77ef8b2bdb2e7e87d50eb477c94bce43
Fix: #12084 deprecate old profiling flags

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

Reviewed By: thomie, austin

Differential Revision: https://phabricator.haskell.org/D2257

GHC Trac Issues: #12084

Update submodule nofib
15 files changed:
compiler/main/DynFlags.hs
compiler/profiling/NOTES
docs/storage-mgt/rp.tex
docs/users_guide/8.2.1-notes.rst
docs/users_guide/separate_compilation.rst
driver/ghc-usage.txt
nofib
testsuite/config/ghc
testsuite/tests/profiling/should_compile/all.T
testsuite/tests/profiling/should_fail/all.T
testsuite/tests/profiling/should_run/Makefile
testsuite/tests/profiling/should_run/all.T
testsuite/tests/stranal/should_compile/all.T
testsuite/tests/stranal/should_compile/newtype.hs
testsuite/tests/th/Makefile