about summary refs log tree commit diff homepage
path: root/test/Concrete
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2014-09-13 18:38:40 -0700
committerDaniel Dunbar <daniel@zuster.org>2014-09-13 18:38:40 -0700
commitc6555deaca41515a5d9c87fec6718ffacd650bf5 (patch)
treeeaf8fad079f3e48d5d6c327f3b96488cf9515eda /test/Concrete
parentb1224b12f143585d35b6846e4a55d18a8918d06f (diff)
downloadklee-c6555deaca41515a5d9c87fec6718ffacd650bf5.tar.gz
[test/Concrete] Remove the Invoke*.ll tests.
 - LLVM changed the exception handling semantics a lot, and we can't write
   compatible tests across the versions. Unfortunately I am afraid this probably
   also means KLEE's exception handling semantics are broken for LLVM 3.4+, but
   our C++ support is spotty at best. These tests should probably be replaced
   with ones in a source language that supports exceptions if and when someone
   wants to make that work.
Diffstat (limited to 'test/Concrete')
-rw-r--r--test/Concrete/InvokeAndReturn.ll20
-rw-r--r--test/Concrete/InvokeAndUnwindOnce.ll20
-rw-r--r--test/Concrete/InvokeAndUnwindTwice.ll24
3 files changed, 0 insertions, 64 deletions
diff --git a/test/Concrete/InvokeAndReturn.ll b/test/Concrete/InvokeAndReturn.ll
deleted file mode 100644
index 13fd3e05..00000000
--- a/test/Concrete/InvokeAndReturn.ll
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s
-
-declare void @print_i32(i32)
-
-define i8 @sum(i8 %a, i8 %b) {
-	%c = add i8 %a, %b
-	ret i8 %c
-}
-
-define i32 @main() {
-	invoke i8 @sum(i8 1, i8 2) 
-		to label %continue
-		unwind label %error
-continue:
-	call void @print_i32(i32 1)
-	ret i32 0
-error:
-	call void @print_i32(i32 0)
-	ret i32 0
-}
diff --git a/test/Concrete/InvokeAndUnwindOnce.ll b/test/Concrete/InvokeAndUnwindOnce.ll
deleted file mode 100644
index dfd929db..00000000
--- a/test/Concrete/InvokeAndUnwindOnce.ll
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s
-
-declare void @print_i32(i32)
-
-define i8 @sum(i8 %a, i8 %b) {
-	%c = add i8 %a, %b
-	unwind
-}
-
-define i32 @main() {
-	invoke i8 @sum(i8 1, i8 2) 
-		to label %continue
-		unwind label %error
-continue:
-	call void @print_i32(i32 1)
-	ret i32 0
-error:
-	call void @print_i32(i32 0)
-	ret i32 0
-}
diff --git a/test/Concrete/InvokeAndUnwindTwice.ll b/test/Concrete/InvokeAndUnwindTwice.ll
deleted file mode 100644
index 148760d8..00000000
--- a/test/Concrete/InvokeAndUnwindTwice.ll
+++ /dev/null
@@ -1,24 +0,0 @@
-; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s
-
-declare void @print_i32(i32)
-
-define i8 @myadd(i8 %a, i8 %b) {
-	unwind
-}
-
-define i8 @sum(i8 %a, i8 %b) {
-	%c = call i8 @myadd(i8 %a, i8 %b)
-	ret i8 %c
-}
-
-define i32 @main() {
-	invoke i8 @sum(i8 1, i8 2) 
-		to label %continue
-		unwind label %error
-continue:
-	call void @print_i32(i32 1)
-	ret i32 0
-error:
-	call void @print_i32(i32 0)
-	ret i32 0
-}