You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass profiling flag to ghc when compiling C files.
The main effect of this change is that the PROFILING macro gets defined
when compiling C files and profiling is enabled. This is useful for code
that inspects closures.
Caveat:
The change relies on the fact that Cabal does not track dependencies
of C files but recompiles them every time. If dependency tracking is
added, we'll need different extensions for profiling and non-profiling
object files.
0 commit comments