diff options
| author | George Rimar <grimar@accesssoftek.com> | 2019-04-25 09:59:55 +0000 | 
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2019-04-25 09:59:55 +0000 | 
| commit | 45d042ed961a04b641eac99584b045de27388708 (patch) | |
| tree | 670437cf48e6a91a3efadbd6b07681738b60ec9d /llvm/lib/IR/Attributes.cpp | |
| parent | 4b7d3c48317c064e6a7048f7eee14677f1fddcc5 (diff) | |
| download | bcm5719-llvm-45d042ed961a04b641eac99584b045de27388708.tar.gz bcm5719-llvm-45d042ed961a04b641eac99584b045de27388708.zip | |
[yaml2obj] - Don't crash on invalid inputs.
yaml2obj might crash on invalid input when unable to parse the YAML.
Recently a crash with a very similar nature was fixed for an empty files. 
This patch revisits the fix and does it in yaml::Input instead.
It seems to be more correct way to handle such situation.
With that crash for invalid inputs is also fixed now.
Differential revision: https://reviews.llvm.org/D61059
llvm-svn: 359178
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
0 files changed, 0 insertions, 0 deletions

