This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Improve error messages regarding missing indirect function table. NFC
ClosedPublic

Authored by sbc100 on Apr 6 2021, 8:09 AM.

Details

Summary

Use report_fatal_error here since this is an internal error, and not
something the user can/should be trying to fix.

Also distinguish between the symbol being missing and the symbol having
the wrong type.

We have a failure internally where the symbol is missing. Currently
trying to reduce the test case to something we can attach to an llvm
bug.

Diff Detail

Unit TestsFailed

Event Timeline

sbc100 created this revision.Apr 6 2021, 8:09 AM
sbc100 requested review of this revision.Apr 6 2021, 8:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2021, 8:09 AM
sbc100 added a reviewer: wingo.Apr 6 2021, 8:10 AM
wingo accepted this revision.Apr 7 2021, 12:42 AM
This revision is now accepted and ready to land.Apr 7 2021, 12:42 AM