1 # Ensures that the libFuzzer library does not export exceptions.
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