summaryrefslogtreecommitdiff
path: root/lib/Fuzzer/test/disable-leaks.test
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fuzzer/test/disable-leaks.test')
-rw-r--r--lib/Fuzzer/test/disable-leaks.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Fuzzer/test/disable-leaks.test b/lib/Fuzzer/test/disable-leaks.test
new file mode 100644
index 0000000000000..467b64ccc6f42
--- /dev/null
+++ b/lib/Fuzzer/test/disable-leaks.test
@@ -0,0 +1,4 @@
+REQUIRES: lsan
+RUN: LLVMFuzzer-AccumulateAllocationsTest -detect_leaks=1 -runs=100000 2>&1 | FileCheck %s --check-prefix=ACCUMULATE_ALLOCS
+ACCUMULATE_ALLOCS: INFO: libFuzzer disabled leak detection after every mutation
+