This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Consume error from parsing attributes section
ClosedPublic

Authored by jrtc27 on Apr 9 2020, 5:35 PM.

Details

Summary

We don't consume the error from getBuildAttributes, so an assertions
build crashes with "Program aborted due to an unhandled Error:".
Explicitly consume it like the ARM version in that case.

Diff Detail

Event Timeline

jrtc27 created this revision.Apr 9 2020, 5:35 PM
MaskRay accepted this revision.Apr 9 2020, 5:52 PM

Looks great!

This revision is now accepted and ready to land.Apr 9 2020, 5:52 PM
This revision was automatically updated to reflect the committed changes.