
#15739: ghc-heap: code field never seems to be populated in StgInfoTable -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- It seems that `peekItbl` doesn't populate the `code` field of `StgInfoTable`. https://github.com/ghc/ghc/blob/6bb9bc7d3c935dcb77e0700cce28de2c9df646df/lib... /ghc-heap/GHC/Exts/Heap/InfoTable.hsc#L52 If you look at `InfoTables.h`, when `TABLES_NEXT_TO_CODE`, it should be populated. https://github.com/ghc/ghc/blob/1c2c2d3dfd4c36884b22163872feb87122b4528d/inc... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15739 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler