diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp index f238a2fabc39..f302cce4436f 100644 --- a/lldb/source/Utility/Reproducer.cpp +++ b/lldb/source/Utility/Reproducer.cpp @@ -9,6 +9,7 @@ #include "lldb/Utility/Reproducer.h" #include "lldb/Utility/LLDBAssert.h" #include "lldb/Utility/ReproducerProvider.h" +#include "lldb/Utility/Timer.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Threading.h" @@ -194,6 +195,7 @@ ProviderBase *Generator::Register(std::unique_ptr provider) { } void Generator::Keep() { + LLDB_SCOPED_TIMER(); assert(!m_done); m_done = true; @@ -204,6 +206,7 @@ void Generator::Keep() { } void Generator::Discard() { + LLDB_SCOPED_TIMER(); assert(!m_done); m_done = true;