[compiler-rt] r337437 - [libFuzzer] fix the bot (the no-assert build)

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 20:16:13 PDT 2018


Author: kcc
Date: Wed Jul 18 20:16:12 2018
New Revision: 337437

URL: http://llvm.org/viewvc/llvm-project?rev=337437&view=rev
Log:
[libFuzzer] fix the bot (the no-assert build)

Modified:
    compiler-rt/trunk/lib/fuzzer/FuzzerMutate.cpp

Modified: compiler-rt/trunk/lib/fuzzer/FuzzerMutate.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerMutate.cpp?rev=337437&r1=337436&r2=337437&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerMutate.cpp (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerMutate.cpp Wed Jul 18 20:16:12 2018
@@ -549,6 +549,7 @@ size_t MutationDispatcher::MutateWithMas
   assert(!T.empty());
   size_t NewSize = Mutate(T.data(), OneBits, OneBits);
   assert(NewSize <= OneBits);
+  (void)NewSize;
   // Even if NewSize < OneBits we still use all OneBits bytes.
   for (size_t I = 0, J = 0; I < Size; I++)
     if (Mask[I])




More information about the llvm-commits mailing list