Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / libcxx.test
blob00092b5e2b668b23f7c57065576362aea8977eb1
1 # Ensures that the libFuzzer library does not export exceptions.
2 REQUIRES: linux
4 RUN: %cpp_compiler %S/SimpleTest.cpp -o %t
5 RUN: nm %t 2>&1 | FileCheck %s
7 CHECK-NOT: t __cxa_allocate_dependent_exception
8 CHECK-NOT: t __cxa_allocate_exception
9 CHECK-NOT: t __cxa_begin_catch
10 CHECK-NOT: t __cxa_call_unexpected
11 CHECK-NOT: t __cxa_current_exception_type
12 CHECK-NOT: t __cxa_end_catch
13 CHECK-NOT: t __cxa_free_dependent_exception
14 CHECK-NOT: t __cxa_free_exception
15 CHECK-NOT: t __cxa_get_exception_ptr
16 CHECK-NOT: t __cxa_throw