Re: profiling and backtracing blues

2012-03-15 Thread Ranjit Jhala
Dear Simon, Thanks for clarifying this! > the only way to get to hscCompileCoreExpr is by compiling a module that > contains > some Template Haskell or quasiquotes. Could that be the case? Looks like this is may indeed be the case. The module that is getting compiled (via the chain)

Re: profiling and backtracing blues

2012-03-15 Thread Simon Marlow
On 14/03/12 22:32, Ranjit Jhala wrote: Dear Simon, I am indeed using the GHC API -- to crunch .hs source to CoreExpr, which I then walk over to generate refinement type constraints and so on. In the past (with GHC 7.04) I *was* able to do some profiling -- to hunt down a space leak. However, pe