[commit: ghc] master: Build debugged prof runtimes (d36b1ff)

git at git.haskell.org git at git.haskell.org
Mon Sep 10 10:54:30 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d36b1ffac9960db70043aaab43c931ce217912ba/ghc

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

commit d36b1ffac9960db70043aaab43c931ce217912ba
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Mon Sep 10 13:53:59 2018 +0300

    Build debugged prof runtimes
    
    For some reason these were disabled. I find these quite useful when
    debugging profiling issues, so enable them again.
    
    Reviewers: bgamari, simonmar
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, carter
    
    Differential Revision: https://phabricator.haskell.org/D5140


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

d36b1ffac9960db70043aaab43c931ce217912ba
 mk/config.mk.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index e4a79a1..7fa0f77 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -303,6 +303,7 @@ GhcRTSWays += debug
 GhcRTSWays += thr thr_debug thr_l
 GhcRTSWays += $(if $(findstring p, $(GhcLibWays)),thr_p,)
 GhcRTSWays += $(if $(findstring dyn, $(GhcLibWays)),dyn debug_dyn thr_dyn thr_debug_dyn l_dyn thr_l_dyn,)
+GhcRTSWays += $(if $(findstring p, $(GhcLibWays)),thr_debug_p debug_p,)
 
 # We can only build GHCi threaded if we have a threaded RTS:
 GhcThreaded = $(if $(findstring thr,$(GhcRTSWays)),YES,NO)



More information about the ghc-commits mailing list