[Haskell-cafe] Error when building executable with profiling enabled
waldmann at imn.htwk-leipzig.de
Sun Apr 7 15:17:01 CEST 2013
Krzysztof Skrzętnicki <gtener <at> gmail.com> writes:
> see this documentation on profiling with TH:
"GHC cannot load the profiled object code
and use it when executing the splices."
That means I do not get profiling information
for the code that gets spliced in?
Or for the code that is producing the splice?
What's the work-around for the first case?
(short of -ddump-splices, which seems somewhat problematic,
according to http://hackage.haskell.org/trac/ghc/ticket/5016 )
More information about the Haskell-Cafe