summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/disable-leaks.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/test/disable-leaks.test')
-rw-r--r--llvm/lib/Fuzzer/test/disable-leaks.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/disable-leaks.test b/llvm/lib/Fuzzer/test/disable-leaks.test
new file mode 100644
index 00000000000..467b64ccc6f
--- /dev/null
+++ b/llvm/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
+
OpenPOWER on IntegriCloud