[libFuzzer] speculatively trying to fix the Mac build
authorKostya Serebryany <kcc@google.com>
Thu, 27 Oct 2016 00:22:39 +0000 (00:22 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 27 Oct 2016 00:22:39 +0000 (00:22 +0000)
llvm-svn: 285259

llvm/lib/Fuzzer/FuzzerTracePC.h

index 2f8d153..467be45 100644 (file)
@@ -111,7 +111,7 @@ private:
     // Do nothing, too small to be interesting.
   }
   void TORCInsert(size_t Idx, uint16_t Arg1, uint16_t Arg2) {
-    // Do nothing, these don't usually hapen.
+    // Do nothing, these don't usually happen.
   }
   void TORCInsert(size_t Idx, uint32_t Arg1, uint32_t Arg2) {
     TORC4.Insert(Idx, Arg1, Arg2);
@@ -119,6 +119,9 @@ private:
   void TORCInsert(size_t Idx, uint64_t Arg1, uint64_t Arg2) {
     TORC8.Insert(Idx, Arg1, Arg2);
   }
+  void TORCInsert(size_t Idx, uintptr_t Arg1, uintptr_t Arg2) {
+    TORC8.Insert(Idx, Arg1, Arg2);
+  }
 
   static const size_t kNumPCs = 1 << 24;
   uintptr_t PCs[kNumPCs];