This is an archive of the discontinued LLVM Phabricator instance.

[llvm/Object] - Add a test for "empty string table" error.
ClosedPublic

Authored by grimar on Jul 29 2019, 5:39 AM.

Details

Summary

This error was never tested. In this patch I improved
the error message, added the test case and also simplified
the code that processes a similar error right below.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Jul 29 2019, 5:39 AM
MaskRay accepted this revision.Jul 30 2019, 7:28 AM
MaskRay added inline comments.
test/Object/invalid.test
611 ↗(On Diff #212156)

not empty -> empty?

This revision is now accepted and ready to land.Jul 30 2019, 7:28 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2019, 1:11 AM