How does TH know to load non-profiled object code when compiling profiled?
marlowsd at gmail.com
Thu Jan 7 17:42:27 UTC 2016
On 07/01/2016 16:28, Edward Z. Yang wrote:
> 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?
Yeah, I've been fiddling with this lately. It's this function here:
More information about the ghc-devs