hanchenye-llvm-project/llvm/lib/Bitcode/Reader
Filipe Cabecinhas de968ecb05 [Bitcode] Diagnose errors instead of asserting from bad input
Eventually we can make some of these pass the error along to the caller.

Reports a fatal error if:
We find an invalid abbrev record
We try to get an invalid abbrev number
We can't fill the current word due to an EOF

Fixed an invalid bitcode test to check for output with FileCheck

Bugs found with afl-fuzz

llvm-svn: 226986
2015-01-24 04:15:05 +00:00
..
BitReader.cpp Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
BitcodeReader.cpp Bitcode: Don't create comdats when autoupgrading macho bitcode 2015-01-20 05:58:07 +00:00
BitcodeReader.h Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
BitstreamReader.cpp [Bitcode] Diagnose errors instead of asserting from bad input 2015-01-24 04:15:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile