[libFuzzer] add 'features' to the corpus elements, allow mutations with Size > MaxSize, fix sha1 in corpus stats; various refactorings

llvm-svn: 282129
diff --git a/llvm/lib/Fuzzer/FuzzerTracePC.cpp b/llvm/lib/Fuzzer/FuzzerTracePC.cpp
index 4d962d3..34fd573 100644
--- a/llvm/lib/Fuzzer/FuzzerTracePC.cpp
+++ b/llvm/lib/Fuzzer/FuzzerTracePC.cpp
@@ -31,7 +31,7 @@
       PCs[Idx] = PC;
       if (TotalCoverageMap.AddValue(Idx)) {
         TotalCoverage++;
-        AddNewPC(PC);
+        AddNewPCID(Idx);
       }
     }
     if (Counter < 128)
@@ -41,7 +41,7 @@
   } else {
     *Guard = 0;
     TotalCoverage++;
-    AddNewPC(PC);
+    AddNewPCID(Idx);
     PCs[Idx] = PC;
   }
 }