proper return value for LLVM run

This commit is contained in:
Alex Groce 2018-07-27 21:11:11 -07:00
parent fe3a417637
commit 95cdb135fc

View File

@ -492,7 +492,7 @@ static void DeepState_RunTest(struct DeepState_TestInfo *test) {
}
/* Run a test case, but in libFuzzer, so not inside a fork. */
static void DeepState_RunTestLLVM(struct DeepState_TestInfo *test) {
static int DeepState_RunTestLLVM(struct DeepState_TestInfo *test) {
/* Run the test. */
if (!setjmp(DeepState_ReturnToRun)) {
/* Convert uncaught C++ exceptions into a test failure. */