llvm-6502/lib/Bitcode/Reader
Filipe Cabecinhas 5d8bb5c7c5 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226986 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-24 04:15:05 +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
BitReader.cpp
BitstreamReader.cpp [Bitcode] Diagnose errors instead of asserting from bad input 2015-01-24 04:15:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile