diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-06-16 20:17:41 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-06-16 20:17:41 +0000 |
| commit | fd6ad5bba91f04796a2a5263d70d55dfe579413b (patch) | |
| tree | 97501502947fbac1c992f5842bd3843bed2fe672 /llvm/lib/Fuzzer/test/fuzzer-threaded.test | |
| parent | ce4ce7368f10e76d5375d83e8a359397920ffdef (diff) | |
| download | bcm5719-llvm-fd6ad5bba91f04796a2a5263d70d55dfe579413b.tar.gz bcm5719-llvm-fd6ad5bba91f04796a2a5263d70d55dfe579413b.zip | |
[libFuzzer] use the new chainable malloc hooks instead of the old un-chainable ones, use atomic for malloc/free counters instead of a thread local counter in the main thread. This should make on-the-spot leak detection in libFuzzer more reliable
llvm-svn: 272948
Diffstat (limited to 'llvm/lib/Fuzzer/test/fuzzer-threaded.test')
| -rw-r--r-- | llvm/lib/Fuzzer/test/fuzzer-threaded.test | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Fuzzer/test/fuzzer-threaded.test b/llvm/lib/Fuzzer/test/fuzzer-threaded.test index e2c823cda1a..c58a33456cc 100644 --- a/llvm/lib/Fuzzer/test/fuzzer-threaded.test +++ b/llvm/lib/Fuzzer/test/fuzzer-threaded.test @@ -1,10 +1,7 @@ CHECK: Done 1000 runs in -# TODO(kcc): re-enable leak detection here. -# Currently laak detection makes run counts imprecise. - -RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 -detect_leaks=0 2>&1 | FileCheck %s -RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 -detect_leaks=0 2>&1 | FileCheck %s -RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 -detect_leaks=0 2>&1 | FileCheck %s -RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 -detect_leaks=0 2>&1 | FileCheck %s +RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s +RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s +RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s +RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s |

