[commit: ghc] master: Refactor info table entry error messages (ce23451)

git at git.haskell.org git at git.haskell.org
Wed Sep 12 06:12:06 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ce23451c2c771bfbbac27ce63c5fdccc7ed02b3b/ghc

>---------------------------------------------------------------

commit ce23451c2c771bfbbac27ce63c5fdccc7ed02b3b
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Wed Sep 12 09:11:18 2018 +0300

    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


>---------------------------------------------------------------

ce23451c2c771bfbbac27ce63c5fdccc7ed02b3b
 rts/StgMiscClosures.cmm | 114 ++++++++++++++++++++++++------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc ce23451c2c771bfbbac27ce63c5fdccc7ed02b3b


More information about the ghc-commits mailing list