diff options
author | Seraphime Kirkovski <kirkseraph@gmail.com> | 2016-05-24 22:30:09 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-05-24 23:49:21 +0200 |
commit | 1956cbf13bd2138500daebd5f1f0a4931d8710ec (patch) | |
tree | e05db790e1db401fd7292d78334aa56738a3e362 /testsuite/config | |
parent | fe8a4e5d77ef8b2bdb2e7e87d50eb477c94bce43 (diff) | |
download | haskell-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 'testsuite/config')
-rw-r--r-- | testsuite/config/ghc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index 82367d9238..355535153c 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -91,27 +91,27 @@ config.way_flags = lambda name : { 'llvm' : ['-fllvm'], 'optllvm' : ['-O', '-fllvm'], 'debugllvm' : ['-fllvm', '-keep-llvm-files'], - 'prof' : ['-prof', '-static', '-auto-all', '-fasm'], - 'profasm' : ['-O', '-prof', '-static', '-auto-all'], - 'profthreaded' : ['-O', '-prof', '-static', '-auto-all', '-threaded'], + 'prof' : ['-prof', '-static', '-fprof-auto', '-fasm'], + 'profasm' : ['-O', '-prof', '-static', '-fprof-auto'], + 'profthreaded' : ['-O', '-prof', '-static', '-fprof-auto', '-threaded'], 'ghci' : ['--interactive', '-v0', '-ignore-dot-ghci', '+RTS', '-I0.1', '-RTS'], 'threaded1' : ['-threaded', '-debug'], 'threaded1_ls' : ['-threaded', '-debug'], 'threaded2' : ['-O', '-threaded', '-eventlog'], 'threaded2_hT' : ['-O', '-threaded'], 'hpc' : ['-O', '-fhpc', '-hpcdir', '.hpc.' + name ], - 'prof_hc_hb' : ['-O', '-prof', '-static', '-auto-all'], - 'prof_hb' : ['-O', '-prof', '-static', '-auto-all'], - 'prof_hd' : ['-O', '-prof', '-static', '-auto-all'], - 'prof_hy' : ['-O', '-prof', '-static', '-auto-all'], - 'prof_hr' : ['-O', '-prof', '-static', '-auto-all'], + 'prof_hc_hb' : ['-O', '-prof', '-static', '-fprof-auto'], + 'prof_hb' : ['-O', '-prof', '-static', '-fprof-auto'], + 'prof_hd' : ['-O', '-prof', '-static', '-fprof-auto'], + 'prof_hy' : ['-O', '-prof', '-static', '-fprof-auto'], + 'prof_hr' : ['-O', '-prof', '-static', '-fprof-auto'], 'dyn' : ['-O', '-dynamic'], 'static' : ['-O', '-static'], 'debug' : ['-O', '-g', '-dannot-lint'], # llvm variants... - 'profllvm' : ['-prof', '-static', '-auto-all', '-fllvm'], - 'profoptllvm' : ['-O', '-prof', '-static', '-auto-all', '-fllvm'], - 'profthreadedllvm' : ['-O', '-prof', '-static', '-auto-all', '-threaded', '-fllvm'], + 'profllvm' : ['-prof', '-static', '-fprof-auto', '-fllvm'], + 'profoptllvm' : ['-O', '-prof', '-static', '-fprof-auto', '-fllvm'], + 'profthreadedllvm' : ['-O', '-prof', '-static', '-fprof-auto', '-threaded', '-fllvm'], 'ghci-ext' : ['--interactive', '-v0', '-ignore-dot-ghci', '-fexternal-interpreter', '+RTS', '-I0.1', '-RTS'], } |