From: Rafael Espindola Date: Fri, 9 Jan 2015 20:55:09 +0000 (+0000) Subject: Add a testcase of llvm-lto error handling. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=64fe6cce3eed6212709528a99de43a8cabb9d699;p=oota-llvm.git Add a testcase of llvm-lto error handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225545 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/LTO/invalid.ll b/test/LTO/invalid.ll new file mode 100644 index 00000000000..39b928587db --- /dev/null +++ b/test/LTO/invalid.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-lto %S/../Bitcode/invalid.ll.bc 2>&1 | FileCheck %s + + +; CHECK: llvm-lto{{.*}}: error loading file '{{.*}}/../Bitcode/invalid.ll.bc': Invalid value