diff options
author | Julian Büning <julian.buening@rwth-aachen.de> | 2020-09-04 22:04:57 +0200 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2020-10-12 11:19:24 +0100 |
commit | 9c445a83bc03ca4a0335e98704feee44183831a6 (patch) | |
tree | 868034bc5ed0406a6bced20f30340146ca079b50 /test/CXX | |
parent | e94d9c6268cb75ff317a42e26f33c419e6686b5d (diff) | |
download | klee-9c445a83bc03ca4a0335e98704feee44183831a6.tar.gz |
Exception handling only for LLVM >= 8.0.0
Diffstat (limited to 'test/CXX')
-rw-r--r-- | test/CXX/symex/libc++/can_catch_test.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/catch_recover.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/catch_with_adjusted_exception_pointer.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/exception.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/exception_inheritance.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/general_catch.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/landingpad.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/multi_throw.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/multi_unwind.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/nested.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/nested_fail.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/rethrow.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/simple_exception.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/simple_exception_fail.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/symbolic_exception.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/throw_specifiers.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/throwing_exception_destructor.cpp | 1 | ||||
-rw-r--r-- | test/CXX/symex/libc++/uncaught_exception.cpp | 1 |
18 files changed, 18 insertions, 0 deletions
diff --git a/test/CXX/symex/libc++/can_catch_test.cpp b/test/CXX/symex/libc++/can_catch_test.cpp index 9d3a2d23..c70d14a2 100644 --- a/test/CXX/symex/libc++/can_catch_test.cpp +++ b/test/CXX/symex/libc++/can_catch_test.cpp @@ -1,5 +1,6 @@ // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libcxx --libc=uclibc %t.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/catch_recover.cpp b/test/CXX/symex/libc++/catch_recover.cpp index 44362b25..c77bea91 100644 --- a/test/CXX/symex/libc++/catch_recover.cpp +++ b/test/CXX/symex/libc++/catch_recover.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/catch_with_adjusted_exception_pointer.cpp b/test/CXX/symex/libc++/catch_with_adjusted_exception_pointer.cpp index bfb69be4..e3bf08ad 100644 --- a/test/CXX/symex/libc++/catch_with_adjusted_exception_pointer.cpp +++ b/test/CXX/symex/libc++/catch_with_adjusted_exception_pointer.cpp @@ -1,5 +1,6 @@ // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libcxx --libc=uclibc %t.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/exception.cpp b/test/CXX/symex/libc++/exception.cpp index b46d474e..4d6805f6 100644 --- a/test/CXX/symex/libc++/exception.cpp +++ b/test/CXX/symex/libc++/exception.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/exception_inheritance.cpp b/test/CXX/symex/libc++/exception_inheritance.cpp index 4e42fbb7..ca207eb4 100644 --- a/test/CXX/symex/libc++/exception_inheritance.cpp +++ b/test/CXX/symex/libc++/exception_inheritance.cpp @@ -1,5 +1,6 @@ // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libcxx --libc=uclibc %t.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/general_catch.cpp b/test/CXX/symex/libc++/general_catch.cpp index ee7f9983..c544f7a3 100644 --- a/test/CXX/symex/libc++/general_catch.cpp +++ b/test/CXX/symex/libc++/general_catch.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/landingpad.cpp b/test/CXX/symex/libc++/landingpad.cpp index 21e55536..13dd6bc4 100644 --- a/test/CXX/symex/libc++/landingpad.cpp +++ b/test/CXX/symex/libc++/landingpad.cpp @@ -3,6 +3,7 @@ // Based on: https://gcc.gnu.org/wiki/Dwarf2EHNewbiesHowto // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libcxx --libc=uclibc %t.bc | FileCheck %s diff --git a/test/CXX/symex/libc++/multi_throw.cpp b/test/CXX/symex/libc++/multi_throw.cpp index be07bc17..52e8d9b9 100644 --- a/test/CXX/symex/libc++/multi_throw.cpp +++ b/test/CXX/symex/libc++/multi_throw.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/multi_unwind.cpp b/test/CXX/symex/libc++/multi_unwind.cpp index 98bae1dc..cf29422c 100644 --- a/test/CXX/symex/libc++/multi_unwind.cpp +++ b/test/CXX/symex/libc++/multi_unwind.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/nested.cpp b/test/CXX/symex/libc++/nested.cpp index b85d6759..21222642 100644 --- a/test/CXX/symex/libc++/nested.cpp +++ b/test/CXX/symex/libc++/nested.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/nested_fail.cpp b/test/CXX/symex/libc++/nested_fail.cpp index 919434f1..d0b8ca09 100644 --- a/test/CXX/symex/libc++/nested_fail.cpp +++ b/test/CXX/symex/libc++/nested_fail.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/rethrow.cpp b/test/CXX/symex/libc++/rethrow.cpp index d6a0954d..149fe693 100644 --- a/test/CXX/symex/libc++/rethrow.cpp +++ b/test/CXX/symex/libc++/rethrow.cpp @@ -1,5 +1,6 @@ // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error --libcxx --libc=uclibc %t.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/simple_exception.cpp b/test/CXX/symex/libc++/simple_exception.cpp index af002253..4d7d2c92 100644 --- a/test/CXX/symex/libc++/simple_exception.cpp +++ b/test/CXX/symex/libc++/simple_exception.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/simple_exception_fail.cpp b/test/CXX/symex/libc++/simple_exception_fail.cpp index d4a30b25..bda2cd33 100644 --- a/test/CXX/symex/libc++/simple_exception_fail.cpp +++ b/test/CXX/symex/libc++/simple_exception_fail.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/symbolic_exception.cpp b/test/CXX/symex/libc++/symbolic_exception.cpp index 49d432a8..3f29fa04 100644 --- a/test/CXX/symex/libc++/symbolic_exception.cpp +++ b/test/CXX/symex/libc++/symbolic_exception.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s diff --git a/test/CXX/symex/libc++/throw_specifiers.cpp b/test/CXX/symex/libc++/throw_specifiers.cpp index 5a7955fb..96195cd4 100644 --- a/test/CXX/symex/libc++/throw_specifiers.cpp +++ b/test/CXX/symex/libc++/throw_specifiers.cpp @@ -2,6 +2,7 @@ // throw specifications on functions // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libcxx --libc=uclibc %t.bc | FileCheck %s diff --git a/test/CXX/symex/libc++/throwing_exception_destructor.cpp b/test/CXX/symex/libc++/throwing_exception_destructor.cpp index d24a15b0..02d7cdb9 100644 --- a/test/CXX/symex/libc++/throwing_exception_destructor.cpp +++ b/test/CXX/symex/libc++/throwing_exception_destructor.cpp @@ -1,6 +1,7 @@ // Testcase for proper handling of exception destructors that throw. // REQUIRES: uclibc // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm -O0 -std=c++11 -c -I "%libcxx_include" -g -nostdinc++ -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libcxx --libc=uclibc --exit-on-error %t.bc diff --git a/test/CXX/symex/libc++/uncaught_exception.cpp b/test/CXX/symex/libc++/uncaught_exception.cpp index 4e8f90f5..3cb54bc3 100644 --- a/test/CXX/symex/libc++/uncaught_exception.cpp +++ b/test/CXX/symex/libc++/uncaught_exception.cpp @@ -1,6 +1,7 @@ // REQUIRES: not-msan // Disabling msan because it times out on CI // REQUIRES: libcxx +// REQUIRES: eh-cxx // RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --libcxx %t1.bc 2>&1 | FileCheck %s |