[Lldb-commits] [lldb] r251997 - Revert change comitted in accidentally as r251992
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 3 14:31:51 PST 2015
Author: tberghammer
Date: Tue Nov 3 16:31:50 2015
New Revision: 251997
URL: http://llvm.org/viewvc/llvm-project?rev=251997&view=rev
Log:
Revert change comitted in accidentally as r251992
Modified:
lldb/trunk/source/Symbol/Symtab.cpp
Modified: lldb/trunk/source/Symbol/Symtab.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/Symtab.cpp?rev=251997&r1=251996&r2=251997&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/Symtab.cpp (original)
+++ lldb/trunk/source/Symbol/Symtab.cpp Tue Nov 3 16:31:50 2015
@@ -265,7 +265,6 @@ Symtab::InitNameIndexes()
// Protected function, no need to lock mutex...
if (!m_name_indexes_computed)
{
- auto start = std::chrono::system_clock::now();
m_name_indexes_computed = true;
Timer scoped_timer (__PRETTY_FUNCTION__, "%s", __PRETTY_FUNCTION__);
// Create the name index vector to be able to quickly search by name
@@ -463,8 +462,6 @@ Symtab::InitNameIndexes()
// a.Printf ("%s METHOD\n", m_symbols[entry.value].GetMangled().GetName().GetCString());
// }
// }
- auto end = std::chrono::system_clock::now();
- fprintf(stderr, "Time: %lu\n", std::chrono::duration_cast<std::chrono::microseconds>(end - start).count());
}
}
More information about the lldb-commits
mailing list