This reverts commit52aeacfbf5. There isn't full agreement on a path forward yet, but there is agreement that this shouldn't land as-is. See discussion on https://reviews.llvm.org/D105338 Also reverts unreviewed "[clang] Improve `-Wnull-dereference` diag to be more in-line with reality" This reverts commitf4877c78c0. And all the related changes to tests: This reverts commit9a0152799f. This reverts commit3f7c9cc274. This reverts commit329f8197ef. This reverts commitaa9f58cc2c. This reverts commit2df37d5ddd. This reverts commita72a441812.
22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
# UNSUPPORTED: darwin, freebsd, aarch64
|
|
BINGO: BINGO
|
|
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
|
|
RUN: not %run %t-SimpleTest -fork=1 2>&1 | FileCheck %s --check-prefix=BINGO
|
|
|
|
TIMEOUT: ERROR: libFuzzer: timeout
|
|
RUN: %cpp_compiler %S/TimeoutTest.cpp -o %t-TimeoutTest
|
|
RUN: not %run %t-TimeoutTest -fork=1 -timeout=1 -ignore_timeouts=0 2>&1 | FileCheck %s --check-prefix=TIMEOUT
|
|
|
|
OOM: ERROR: libFuzzer: out-of-memory
|
|
RUN: %cpp_compiler %S/OutOfMemoryTest.cpp -o %t-OutOfMemoryTest
|
|
RUN: not %run %t-OutOfMemoryTest -fork=1 -ignore_ooms=0 -rss_limit_mb=128 2>&1 | FileCheck %s --check-prefix=OOM
|
|
|
|
# access-violation is the error thrown on Windows. Address will be smaller on i386.
|
|
CRASH: {{SEGV|access-violation}} on unknown address 0x00000000
|
|
RUN: %cpp_compiler %S/ShallowOOMDeepCrash.cpp -o %t-ShallowOOMDeepCrash
|
|
RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -rss_limit_mb=128 2>&1 | FileCheck %s --check-prefix=CRASH
|
|
|
|
MAX_TOTAL_TIME: INFO: fuzzed for {{.*}} seconds, wrapping up soon
|
|
MAX_TOTAL_TIME: INFO: exiting: {{.*}} time:
|
|
RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -rss_limit_mb=128 -ignore_crashes=1 -max_total_time=10 2>&1 | FileCheck %s --check-prefix=MAX_TOTAL_TIME
|