Previously jaml2obj would segfault on empty document.
(without yaml description).
Patch fixes the issue.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It was reverted because broke BB:
http://lab.llvm.org:8011/builders/llvm-hexagon-elf/builds/9781
Reopening.
| lib/ObjectYAML/ObjectYAML.cpp | ||
|---|---|---|
| 38 | I think this is not correct. You need to set an error because this is an error condition. | |
Comment Actions
- Addressed review comment.
| lib/ObjectYAML/ObjectYAML.cpp | ||
|---|---|---|
| 38 | I was not sure that empty document is an error. But ok, fixed. | |
I think this is not correct. You need to set an error because this is an error condition.