[llvm] r267771 - [libFuzzer] disable leak detection if we have tried it for 1000 times w/o finding a leak [part 2]

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 12:52:57 PDT 2016


Author: kcc
Date: Wed Apr 27 14:52:56 2016
New Revision: 267771

URL: http://llvm.org/viewvc/llvm-project?rev=267771&view=rev
Log:
[libFuzzer] disable leak detection if we have tried it for 1000 times w/o finding a leak [part 2] 

Modified:
    llvm/trunk/lib/Fuzzer/test/fuzzer-leak.test

Modified: llvm/trunk/lib/Fuzzer/test/fuzzer-leak.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/fuzzer-leak.test?rev=267771&r1=267770&r2=267771&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer-leak.test (original)
+++ llvm/trunk/lib/Fuzzer/test/fuzzer-leak.test Wed Apr 27 14:52:56 2016
@@ -20,4 +20,5 @@ RUN: not LLVMFuzzer-LeakTimeoutTest -tim
 LEAK_TIMEOUT: ERROR: libFuzzer: timeout after
 LEAK_TIMEOUT-NOT: LeakSanitizer
 
-
+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




More information about the llvm-commits mailing list