Use a non-fatal diag handler in the C API. FIxes PR22368.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 Feb 2015 00:49:57 +0000 (00:49 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 Feb 2015 00:49:57 +0000 (00:49 +0000)
commitd0d95dbf3c8ca94bdd3c6d8afc1aca60b12325a4
tree8611c20e7a355fd951d19b668879e2456a5b4c69
parent68697579bf3c29cd17f8e677928604cae5e988e4
Use a non-fatal diag handler in the C API. FIxes PR22368.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227903 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitReader.cpp
test/Bindings/llvm-c/Inputs/invalid.ll.bc [new file with mode: 0644]
test/Bindings/llvm-c/invalid-bitcode.test [new file with mode: 0644]