diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs index a75976f73a22e6767d6cae7cf4f230e726bf2e10..364261259ffd219791714a6c258eea01594f69c4 100644 --- a/hadrian/src/Flavour.hs +++ b/hadrian/src/Flavour.hs @@ -96,7 +96,13 @@ enableTickyGhc = [ builder (Ghc CompileHs) ? ticky , builder (Ghc LinkHs) ? ticky ] - ticky = arg "-ticky" <> arg "-ticky-allocd" + ticky = mconcat + [ arg "-ticky" + , arg "-ticky-allocd" + -- You generally need STG dumps to interpret ticky profiles + , arg "-ddump-to-file" + , arg "-ddump-stg-final" + ] -- | Transform the input 'Flavour' so as to build with -- @-split-sections@ whenever appropriate. You can