Don't barf() on failures in loadArchive()
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 7 Dec 2016 13:51:02 +0000 (08:51 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 7 Dec 2016 14:55:30 +0000 (09:55 -0500)
commit83d69dca896c7df1f2a36268d5b45c9283985ebf
tree5803804671418d397504a62756bd2601731bbc0f
parentd70d452a38bed3321bfc3c14074a6b3e1f30a090
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
includes/Rts.h
rts/LinkerInternals.h
rts/linker/LoadArchive.c