mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
06b7be771a
Essentially echo "" | yaml2obj crashes. This patch attempts to trim whitespace and determine if the yaml string in the file is empty or not. If the input is empty then it will not properly print out an error message and return an error code. Differential Revision: https://reviews.llvm.org/D59964 A test/tools/yaml2obj/empty.yaml M tools/yaml2obj/yaml2obj.cpp llvm-svn: 357219 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
yaml2coff.cpp | ||
yaml2elf.cpp | ||
yaml2macho.cpp | ||
yaml2minidump.cpp | ||
yaml2obj.cpp | ||
yaml2obj.h | ||
yaml2wasm.cpp |