aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-10-05 22:56:21 +0000
committerKostya Serebryany <kcc@google.com>2016-10-05 22:56:21 +0000
commit1c73f1bf274edcadfcd4cc95f4adc89dff8cb5fb (patch)
treee13ce2de9795de3e90c1ee88707281ae25572d5a /llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp
parentae34c56ee77ba6f9096dcec543d99d9ab87a6718 (diff)
downloadllvm-1c73f1bf274edcadfcd4cc95f4adc89dff8cb5fb.zip
llvm-1c73f1bf274edcadfcd4cc95f4adc89dff8cb5fb.tar.gz
llvm-1c73f1bf274edcadfcd4cc95f4adc89dff8cb5fb.tar.bz2
[libFuzzer] refactoring to make -shrink=1 work for value profile, added a test.
llvm-svn: 283409
Diffstat (limited to 'llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp')
-rw-r--r--llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp b/llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp
index 2fa17f1..0fd7c5e 100644
--- a/llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp
+++ b/llvm/lib/Fuzzer/test/ShrinkControlFlowTest.cpp
@@ -21,7 +21,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
int Z = Ids[(unsigned char)'Z'];
if (F >= 0 && U > F && Z > U) {
Sink++;
- // fprintf(stderr, "IDS: %d %d %d\n", F, U, Z);
+ //fprintf(stderr, "IDS: %d %d %d\n", F, U, Z);
}
return 0;
}