How does TH know to load non-profiled object code when compiling profiled?

Edward Z. Yang ezyang at
Thu Jan 7 16:29:55 UTC 2016

I've been looking for the code that implements this logic, but I can't
seem to find it.  (For what it's worth, compiler plugins *incorrectly*
load the profiling interface when compiling profiled, which is wrong
and something I'd like to fix.)  Simon Marlow, do you happen to know?


More information about the ghc-devs mailing list