[GHC] #15739: ghc-heap: code field never seems to be populated in StgInfoTable

GHC ghc-devs at haskell.org
Thu Oct 11 15:49:14 UTC 2018


#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/libraries
 /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/includes/rts/storage/InfoTables.h#L200

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15739>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list