Use report_fatal_error instead of llvm_unreachable, so we don't crash on user input
authorFilipe Cabecinhas <me@filcab.net>
Fri, 16 Jan 2015 04:54:12 +0000 (04:54 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Fri, 16 Jan 2015 04:54:12 +0000 (04:54 +0000)
commit3ca723c9e5e7188fe9b4935b5e2f089326d88641
treee40744ac15a5e39e7dda2b719e59af1760889bdf
parent52f7c018d3435287d558e77de5859679aa3eb764
Use report_fatal_error instead of llvm_unreachable, so we don't crash on user input

llvm-svn: 226248
llvm/include/llvm/Bitcode/BitCodes.h
llvm/test/Bitcode/Inputs/invalid-pr20485.bc [new file with mode: 0644]
llvm/test/Bitcode/invalid.test [new file with mode: 0644]