From 06289376f74c0198b14c154a65ab565bb0bd9c91 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 27 Oct 2016 00:22:39 +0000 Subject: [PATCH] [libFuzzer] speculatively trying to fix the Mac build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285259 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Fuzzer/FuzzerTracePC.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Fuzzer/FuzzerTracePC.h b/lib/Fuzzer/FuzzerTracePC.h index 2f8d1533cea..467be45b939 100644 --- a/lib/Fuzzer/FuzzerTracePC.h +++ b/lib/Fuzzer/FuzzerTracePC.h @@ -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]; -- 2.40.0