Skip to content

Commit f094144

Browse files
committed
[libFuzzer] Fix stack-overflow-with-asan.test.
Fix function return type and remove check for SUMMARY, since it doesn't seem to be output in Windows.
1 parent 1006ac3 commit f094144

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler-rt/test/fuzzer/StackOverflowTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
volatile int x;
1111
volatile int y = 1;
1212

13-
int infinite_recursion(char *p) {
13+
void infinite_recursion(char *p) {
1414
char *buf = nullptr;
1515

1616
if (y)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
CHECK: SUMMARY: AddressSanitizer: stack-overflow
1+
CHECK: AddressSanitizer: stack-overflow
22
RUN: %cpp_compiler %S/StackOverflowTest.cpp -o %t-StackOverflowTest
33
RUN: not %run %t-StackOverflowTest 2>&1 | FileCheck %s

0 commit comments

Comments
 (0)