diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-10-27 00:22:39 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-10-27 00:22:39 +0000 |
| commit | 15cd6b4b10dd4046cb3d09855b06c80fd0a7db8b (patch) | |
| tree | 035d08e20932f5baf71942a621fbd1fb15851e83 /llvm/lib/Fuzzer | |
| parent | b92ab1afd5aa1418402918ef70380ccb9470af7b (diff) | |
| download | bcm5719-llvm-15cd6b4b10dd4046cb3d09855b06c80fd0a7db8b.tar.gz bcm5719-llvm-15cd6b4b10dd4046cb3d09855b06c80fd0a7db8b.zip | |
[libFuzzer] speculatively trying to fix the Mac build
llvm-svn: 285259
Diffstat (limited to 'llvm/lib/Fuzzer')
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerTracePC.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerTracePC.h b/llvm/lib/Fuzzer/FuzzerTracePC.h index 2f8d1533cea..467be45b939 100644 --- a/llvm/lib/Fuzzer/FuzzerTracePC.h +++ b/llvm/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]; |

