[libFuzzer] Fix stack-overflow-with-asan.test.
authorMatt Morehouse <mascasa@google.com>
Fri, 7 May 2021 16:11:45 +0000 (09:11 -0700)
committerMatt Morehouse <mascasa@google.com>
Fri, 7 May 2021 16:18:21 +0000 (09:18 -0700)
Fix function return type and remove check for SUMMARY, since it doesn't
seem to be output in Windows.

compiler-rt/test/fuzzer/StackOverflowTest.cpp
compiler-rt/test/fuzzer/stack-overflow-with-asan.test

index c8d8984..1093313 100644 (file)
@@ -10,7 +10,7 @@
 volatile int x;
 volatile int y = 1;
 
-int infinite_recursion(char *p) {
+void infinite_recursion(char *p) {
   char *buf = nullptr;
 
   if (y)
index 76be70b..ca3c2f9 100644 (file)
@@ -1,3 +1,3 @@
-CHECK: SUMMARY: AddressSanitizer: stack-overflow
+CHECK: AddressSanitizer: stack-overflow
 RUN: %cpp_compiler %S/StackOverflowTest.cpp -o %t-StackOverflowTest
 RUN: not %run %t-StackOverflowTest 2>&1 | FileCheck %s