This is an archive of the discontinued LLVM Phabricator instance.

RuntimeDyldELF: report_fatal_error instead of asserting for unimplemented relocations (PR46816)
ClosedPublic

Authored by hans on Jul 23 2020, 2:19 AM.

Details

Summary

This fixes the ExecutionEngine/MCJIT/stubs-sm-pic.ll test in no-asserts builds which is set to XFAIL on some platforms like 32-bit x86. More importantly, we probably don't want to silently error in these cases.

What do you think?

Diff Detail

Event Timeline

hans created this revision.Jul 23 2020, 2:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2020, 2:19 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
hans added a comment.Jul 29 2020, 9:29 AM

lhames: Ping?

lhames accepted this revision.Jul 30 2020, 8:28 PM

Sorry for the delay! LGTM.

This revision is now accepted and ready to land.Jul 30 2020, 8:28 PM