diff options
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerTracePC.h')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerTracePC.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerTracePC.h b/compiler-rt/lib/fuzzer/FuzzerTracePC.h index 0c9d4b69b61..76aa0748f15 100644 --- a/compiler-rt/lib/fuzzer/FuzzerTracePC.h +++ b/compiler-rt/lib/fuzzer/FuzzerTracePC.h @@ -82,6 +82,7 @@ class TracePC { void SetUseCounters(bool UC) { UseCounters = UC; } void SetUseValueProfile(bool VP) { UseValueProfile = VP; } void SetPrintNewPCs(bool P) { DoPrintNewPCs = P; } + void SetPrintNewFuncs(bool P) { DoPrintNewFuncs = P; } void UpdateObservedPCs(); template <class Callback> void CollectFeatures(Callback CB) const; @@ -133,6 +134,7 @@ private: bool UseCounters = false; bool UseValueProfile = false; bool DoPrintNewPCs = false; + bool DoPrintNewFuncs = false; struct Module { uint32_t *Start, *Stop; @@ -158,6 +160,7 @@ private: uintptr_t *PCs() const; std::set<uintptr_t> ObservedPCs; + std::set<uintptr_t> ObservedFuncs; ValueBitMap ValueProfileMap; uintptr_t InitialStack; |

