Change a reachable unreachable to a fatal error.
authorFilipe Cabecinhas <me@filcab.net>
Tue, 19 May 2015 18:18:10 +0000 (18:18 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Tue, 19 May 2015 18:18:10 +0000 (18:18 +0000)
commit27ca64f3d3887ee500c0cab672f6aa9fc87f9ff7
treeaf5d163c8b30992bc3eaf745f67f9a8cdc83028e
parent328f462f3c0f21d36f7d0a4bd222e397b1df991f
Change a reachable unreachable to a fatal error.

Summary:
Also tagged a FIXME comment, and added information about why it breaks.

Bug found using AFL fuzz.

Reviewers: rafael, craig.topper

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9729

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237709 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/StreamingMemoryObject.h
test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc [new file with mode: 0644]
test/Bitcode/invalid.test