[commit: ghc] master: Don't barf() on failures in loadArchive() (83d69dc)
git at git.haskell.org
git at git.haskell.org
Wed Dec 7 15:50:28 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/83d69dca896c7df1f2a36268d5b45c9283985ebf/ghc
>---------------------------------------------------------------
commit 83d69dca896c7df1f2a36268d5b45c9283985ebf
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Wed Dec 7 08:51:02 2016 -0500
Don't barf() on failures in loadArchive()
This patch replaces calls to barf() in loadArchive() with proper
error handling.
Test Plan: GHC CI
Reviewers: rwbarton, erikd, hvr, austin, simonmar, bgamari
Reviewed By: bgamari
Subscribers: thomie
Tags: #ghc
Differential Revision: https://phabricator.haskell.org/D2652
GHC Trac Issues: #12388
>---------------------------------------------------------------
83d69dca896c7df1f2a36268d5b45c9283985ebf
includes/Rts.h | 6 +-
rts/LinkerInternals.h | 7 +-
rts/linker/LoadArchive.c | 471 +++++++++++++++++++++++++++++------------------
3 files changed, 291 insertions(+), 193 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 83d69dca896c7df1f2a36268d5b45c9283985ebf
More information about the ghc-commits
mailing list