2019-04-26 02:14:24 +08:00
|
|
|
# Ensures that the libFuzzer library does not export exceptions.
|
2019-04-26 02:42:30 +08:00
|
|
|
REQUIRES: linux
|
2019-04-26 02:14:24 +08:00
|
|
|
|
|
|
|
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t
|
|
|
|
RUN: nm %t 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
CHECK-NOT: t __cxa_allocate_dependent_exception
|
|
|
|
CHECK-NOT: t __cxa_allocate_exception
|
|
|
|
CHECK-NOT: t __cxa_begin_catch
|
|
|
|
CHECK-NOT: t __cxa_call_unexpected
|
|
|
|
CHECK-NOT: t __cxa_current_exception_type
|
|
|
|
CHECK-NOT: t __cxa_end_catch
|
|
|
|
CHECK-NOT: t __cxa_free_dependent_exception
|
|
|
|
CHECK-NOT: t __cxa_free_exception
|
|
|
|
CHECK-NOT: t __cxa_get_exception_ptr
|
|
|
|
CHECK-NOT: t __cxa_throw
|