[commit: ghc] ghc-7.10: Compile the RTS with -g by default (fb582ef)

git at git.haskell.org git at git.haskell.org
Wed Jan 14 12:53:02 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/fb582eff577c0ec888716abc68fff2232a51f8d3/ghc

>---------------------------------------------------------------

commit fb582eff577c0ec888716abc68fff2232a51f8d3
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.
    
    (cherry picked from commit adc542df23fd4c1766606ffcdced92beb1a192ce)


>---------------------------------------------------------------

fb582eff577c0ec888716abc68fff2232a51f8d3
 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