This is an archive of the discontinued LLVM Phabricator instance.

[yaml2obj] - Don't crash on one more invalid document.
ClosedPublic

Authored by grimar on Sep 20 2017, 7:55 AM.

Details

Summary

This fixes one more crash I faced.
Testcase contains minimal reduced case.

Note: there is also D38039 which refactors whole createHNodes method
to make it more readable, it is independent improvement though.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Sep 20 2017, 7:55 AM
grimar planned changes to this revision.Sep 20 2017, 8:38 AM
grimar updated this revision to Diff 116008.Sep 20 2017, 8:42 AM
  • Fixed last minute renaming mistake.
This revision was automatically updated to reflect the committed changes.