[Lldb-commits] [PATCH] D138878: [lldb] Remove timer from Module::GetNumCompileUnits

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 1 09:42:08 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2a10d8ca34a: [lldb] Remove timer from Module::GetNumCompileUnits (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138878/new/

https://reviews.llvm.org/D138878

Files:
  lldb/source/Core/Module.cpp


Index: lldb/source/Core/Module.cpp
===================================================================
--- lldb/source/Core/Module.cpp
+++ lldb/source/Core/Module.cpp
@@ -419,8 +419,6 @@
 
 size_t Module::GetNumCompileUnits() {
   std::lock_guard<std::recursive_mutex> guard(m_mutex);
-  LLDB_SCOPED_TIMERF("Module::GetNumCompileUnits (module = %p)",
-                     static_cast<void *>(this));
   if (SymbolFile *symbols = GetSymbolFile())
     return symbols->GetNumCompileUnits();
   return 0;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138878.479336.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221201/d98cbc5e/attachment.bin>


More information about the lldb-commits mailing list