[Git][ghc/ghc][wip/enable-late-ccs-release] packaging: Enable late-ccs for perf (and hence release) flavours

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Fri Jul 21 11:17:02 UTC 2023



Matthew Pickering pushed to branch wip/enable-late-ccs-release at Glasgow Haskell Compiler / GHC


Commits:
df1e3d37 by Matthew Pickering at 2023-07-21T12:13:02+01:00
packaging: Enable late-ccs for perf (and hence release) flavours

This enables late cost centres when building profiled libraries and
subsequently greatly improves the resolution of cost centre stacks when
profiling.

Fixes #21732

- - - - -


2 changed files:

- hadrian/src/Flavour.hs
- hadrian/src/Settings/Flavours/Performance.hs


Changes:

=====================================
hadrian/src/Flavour.hs
=====================================
@@ -7,6 +7,7 @@ module Flavour
   , addArgs
   , splitSections
   , enableThreadSanitizer
+  , enableLateCCS
   , enableDebugInfo, enableTickyGhc
   , viaLlvmBackend
   , enableProfiledGhc


=====================================
hadrian/src/Settings/Flavours/Performance.hs
=====================================
@@ -6,7 +6,7 @@ import {-# SOURCE #-} Settings.Default
 
 -- Please update doc/flavours.md when changing this file.
 performanceFlavour :: Flavour
-performanceFlavour = splitSections $ defaultFlavour
+performanceFlavour = enableLateCCS $ splitSections $ defaultFlavour
     { name = "perf"
     , extraArgs = performanceArgs }
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/df1e3d3731b45a0cc024b6fd4e815e774ebad4d0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/df1e3d3731b45a0cc024b6fd4e815e774ebad4d0
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230721/9dd01ed2/attachment-0001.html>


More information about the ghc-commits mailing list