llvm-project/llvm/tools/yaml2obj
George Rimar 45d042ed96 [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
2019-04-25 09:59:55 +00:00
..
CMakeLists.txt [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
yaml2coff.cpp [yaml2obj] Replace num_zeros with write_zeros 2019-04-24 13:23:15 +00:00
yaml2elf.cpp [yaml2elf] - Replace a loop with write_zeros(). NFC. 2019-04-24 13:02:15 +00:00
yaml2macho.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
yaml2minidump.cpp [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
yaml2obj.cpp [yaml2obj] - Don't crash on invalid inputs. 2019-04-25 09:59:55 +00:00
yaml2obj.h [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
yaml2wasm.cpp [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +00:00