[commit: ghc] master: Compile the RTS with -g by default (adc542d)
git at git.haskell.org
git at git.haskell.org
Tue Jan 13 23:00:08 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/adc542df23fd4c1766606ffcdced92beb1a192ce/ghc
>---------------------------------------------------------------
commit adc542df23fd4c1766606ffcdced92beb1a192ce
Author: Simon Marlow <marlowsd at gmail.com>
Date: Tue Jan 13 20:23:35 2015 +0000
Compile the RTS with -g by default
Having debugging info doesn't hurt performance, can be stripped from
binaries, and it's useful for debugging and profiling.
>---------------------------------------------------------------
adc542df23fd4c1766606ffcdced92beb1a192ce
mk/config.mk.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 8f134bc..40c66d9 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -344,7 +344,7 @@ LAX_DEPENDENCIES = NO
# the debugging RTS flavour, rts/ghc.mk overrides these to turn off
# optimisation.
GhcRtsHcOpts=-O2
-GhcRtsCcOpts=-O2 -fomit-frame-pointer
+GhcRtsCcOpts=-O2 -fomit-frame-pointer -g
# Include support for CPU performance counters via the PAPI library in the RTS?
# (PAPI: http://icl.cs.utk.edu/papi/)
More information about the ghc-commits
mailing list