summaryrefslogtreecommitdiff
path: root/docs/storage-mgt
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 /docs/storage-mgt
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 'docs/storage-mgt')
-rw-r--r--docs/storage-mgt/rp.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/storage-mgt/rp.tex b/docs/storage-mgt/rp.tex
index c6de489c59..96b0875120 100644
--- a/docs/storage-mgt/rp.tex
+++ b/docs/storage-mgt/rp.tex
@@ -329,7 +329,7 @@ have to modify their corresponding structures.
runtime system.
First, @nofib/real/symalg@ ends up with a division-by-zero
exception if we add a new field.
-Second, the runtime system option @-auto-all@ clashes in some test files
+Second, the runtime system option @-fprof-auto@ clashes in some test files
in the @nofib@ testing suite (e.g., @spectral/expert@).
\subsection{Initialization code}
@@ -920,13 +920,13 @@ Since cost centre stacks are used as retainer identity, a source program
must be given proper cost centre annotations by programmers.
Alternatively,
we can ask the compiler to automatically insert cost centre annotations.
-For instance, the compiler option @-auto-all@ inserts a cost centre
+For instance, the compiler option @-fprof-auto@ inserts a cost centre
annotation around every top-level function as shown below
(the @-p@ option is a must
because we must build the executable file in a profiling way):
\begin{code}
-$ ghc-inplace -o Foo.out -p -auto-all Foo.hs
+$ ghc-inplace -o Foo.out -p -fprof-auto Foo.hs
\end{code}
The runtime system option @-hR@ tells the executable program to