Refactor info table entry error messages
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Wed, 12 Sep 2018 06:11:18 +0000 (09:11 +0300)
committerÖmer Sinan Ağacan <omeragacan@gmail.com>
Wed, 12 Sep 2018 06:11:40 +0000 (09:11 +0300)
commitce23451c2c771bfbbac27ce63c5fdccc7ed02b3b
tree9572cb1bb94c5f2d555fdfe03b15fad076224849
parent03b779f2444c438204789c7ced0ed23556f7b105
Refactor info table entry error messages

We now show address of the entered object in error messages. Example:

    foo: internal error: Evaluated a CAF (0xe4c518) that was GC'd!
        (GHC version 8.6.0.20180907 for x86_64_unknown_linux)
        Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Helpful when debugging.

Test Plan: This validates

Reviewers: simonmar, bgamari, erikd

Reviewed By: simonmar

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5143
rts/StgMiscClosures.cmm