[llvm-commits] [llvm] r117552 - in /llvm/trunk/test/Bitcode: null-type.ll null-type.ll.bc
Duncan Sands
baldrick at free.fr
Thu Oct 28 08:57:30 PDT 2010
Author: baldrick
Date: Thu Oct 28 10:57:30 2010
New Revision: 117552
URL: http://llvm.org/viewvc/llvm-project?rev=117552&view=rev
Log:
Testcase for PR8494 (invalid bitcode crashing the bitcode reader).
Added:
llvm/trunk/test/Bitcode/null-type.ll
llvm/trunk/test/Bitcode/null-type.ll.bc (with props)
Added: llvm/trunk/test/Bitcode/null-type.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/null-type.ll?rev=117552&view=auto
==============================================================================
--- llvm/trunk/test/Bitcode/null-type.ll (added)
+++ llvm/trunk/test/Bitcode/null-type.ll Thu Oct 28 10:57:30 2010
@@ -0,0 +1,2 @@
+; RUN: not llvm-dis < %s.bc > /dev/null |& grep "Invalid MODULE_CODE_FUNCTION record"
+; PR8494
Added: llvm/trunk/test/Bitcode/null-type.ll.bc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/null-type.ll.bc?rev=117552&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/Bitcode/null-type.ll.bc
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
More information about the llvm-commits
mailing list