Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame^] | 1 | #ifndef FUZZER_ASSERT_IMPL_H_ |
2 | #define FUZZER_ASSERT_IMPL_H_ | ||||
3 | |||||
4 | // Declare Debug/Release independed assert macro. | ||||
5 | #define fuzzer_assert_impl(x) (!!(x) ? static_cast<void>(0) : __builtin_trap()) | ||||
6 | |||||
7 | extern "C" void __builtin_trap(void); | ||||
8 | |||||
9 | #endif // !FUZZER_ASSERT_IMPL_H_ |