Can cost-centre annotations be included in -ddump-simpl?
I'm trying to diagnose an allocation problem. I'm using both explicit cost-centre annotations and -fprof -fprof-auto. I'm running with +RTS -pa -hc. To understand what I'm seeing in the profiles, I'm looking at the output from the ghc-core tool, which I think include -ddump-simpl.
If I understand the semantics correctly, allocations are indicated by let bindings in the Core. It would be hugely helpful if each of these let bindings were annotated with the cost centre to which the allocation is charged. A great aid to debugging!
If we can help with this idea, please let me know.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |