summaryrefslogtreecommitdiff
path: root/compiler/profiling
diff options
context:
space:
mode:
authorSeraphime Kirkovski <kirkseraph@gmail.com>2016-05-24 22:30:09 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-05-24 23:49:21 +0200
commit1956cbf13bd2138500daebd5f1f0a4931d8710ec (patch)
treee05db790e1db401fd7292d78334aa56738a3e362 /compiler/profiling
parentfe8a4e5d77ef8b2bdb2e7e87d50eb477c94bce43 (diff)
downloadhaskell-1956cbf13bd2138500daebd5f1f0a4931d8710ec.tar.gz
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
Diffstat (limited to 'compiler/profiling')
-rw-r--r--compiler/profiling/NOTES6
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/profiling/NOTES b/compiler/profiling/NOTES
index c50cf562e3..824d52b12a 100644
--- a/compiler/profiling/NOTES
+++ b/compiler/profiling/NOTES
@@ -8,12 +8,14 @@ Pre-code-generator-ish
* Automagic insertion of _sccs_ on...
- - If -auto is specified, add _scc_ on each *exported* top-level definition.
+ - If -fprof-auto-exported is specified, add _scc_ on each *exported* top-level definition.
NB this includes CAFs. Done by addAutoCostCentres (Core-to-Core pass).
- - If -auto-all is specified, add _scc_ on *all* top-level definitions.
+ - If -fprof-auto-top is specified, add _scc_ on *all* top-level definitions.
Done by same pass.
+ - If -fprof-auto is specified, add _scc_ on *all* definitions.
+
- Always: just before code generation of module M, onto any CAF
which hasn't already got an explicit cost centre attached, pin
"AllCAFs-M".