summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-04-28 20:18:47 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-04-28 20:18:47 +0000
commitb435d0f4395448620e3e15411e635c102d915a2e (patch)
tree08482cbf75a3e28c8e176e0aacbe1e22f8238bd7 /llvm/test/Bitcode/Inputs
parente3ff9305cd91b217f8a7f08ba55c60f542021882 (diff)
downloadbcm5719-llvm-b435d0f4395448620e3e15411e635c102d915a2e.tar.gz
bcm5719-llvm-b435d0f4395448620e3e15411e635c102d915a2e.zip
Relax an assert when there's a type mismatch in forward references
Summary: We don't seem to need to assert here, since this function's callers expect to get a nullptr on error. This way we don't assert on user input. Bug found with AFL fuzz. Reviewers: rafael Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9308 llvm-svn: 236027
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r--llvm/test/Bitcode/Inputs/invalid-fwdref-type-mismatch.bcbin0 -> 612 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/invalid-fwdref-type-mismatch.bc b/llvm/test/Bitcode/Inputs/invalid-fwdref-type-mismatch.bc
new file mode 100644
index 00000000000..d1c9560257a
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/invalid-fwdref-type-mismatch.bc
Binary files differ
OpenPOWER on IntegriCloud