GHC should be distributed with debug symbols
Now that we have the capability of producing code with DWARF symbols, we should distribute GHC with them, or at least give the option.
The DWARF symbols in these case would be both for the C RTS and for the base Haskell libraries shipped with GHC. Building GHC with said symbols amounts to adding
GhcRtsHcOpts += -g
GhcLibHcOpts += -g
to mk/build.mk
.
Trac metadata
Trac field | Value |
---|---|
Version | |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | duncan@well-typed.com, johan.tibell@gmail.com |
Operating system | |
Architecture |