Commit 73293109 authored by rwbarton's avatar rwbarton
Browse files

Fix runtime linker error message when old symbol had no owner

Test Plan: Actually run validate. This fixes test linker_error3.

Reviewers: austin, erikd, bgamari

Reviewed By: erikd, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1874
parent 02e3ce0b
......@@ -439,6 +439,7 @@ static int ghciInsertSymbolTable(
" loaded twice.\n",
(char*)key,
obj_name,
pinfo->owner == NULL ? "(GHCi built-in symbols)" :
pinfo->owner->archiveMemberName ? pinfo->owner->archiveMemberName
: pinfo->owner->fileName
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment