diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2015-06-16 19:53:14 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-06-16 19:59:28 +0200 |
commit | df63736341d8b92c0f7f0012bf88929e32a1403f (patch) | |
tree | 34e6d9c800326f0fdce2282f01dc1a71482a2623 /compiler/ghc.mk | |
parent | 89c7168c150ccc38a2e6dd4a3aea555616722260 (diff) | |
download | haskell-df63736341d8b92c0f7f0012bf88929e32a1403f.tar.gz |
ghc.mk: Update instances of -auto-all
-auto-all is now -fprof-auto.
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D989
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r-- | compiler/ghc.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index f6ed9c27cc..0c02f49999 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -384,13 +384,13 @@ ifeq "$(GhcProfiled)" "YES" # everywhere tends to give a hard-to-read profile, and adds lots of # overhead. A better approach is to proceed top-down; identify the # parts of the compiler of interest, and then add further cost centres -# as necessary. Turn on -auto-all for individual modules like this: +# as necessary. Turn on -fprof-auto for individual modules like this: -# compiler/main/DriverPipeline_HC_OPTS += -auto-all -compiler/main/GhcMake_HC_OPTS += -auto-all -compiler/main/GHC_HC_OPTS += -auto-all +# compiler/main/DriverPipeline_HC_OPTS += -fprof-auto +compiler/main/GhcMake_HC_OPTS += -fprof-auto +compiler/main/GHC_HC_OPTS += -fprof-auto -# or alternatively add {-# OPTIONS_GHC -auto-all #-} to the top of +# or alternatively add {-# OPTIONS_GHC -fprof-auto #-} to the top of # modules you're interested in. # We seem to still build the vanilla libraries even if we say |