[Lldb-commits] [lldb] r316390 - [Symbol] Remove dead code. NFCI.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 23 16:14:17 PDT 2017
Author: davide
Date: Mon Oct 23 16:14:17 2017
New Revision: 316390
URL: http://llvm.org/viewvc/llvm-project?rev=316390&view=rev
Log:
[Symbol] Remove dead code. NFCI.
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=316390&r1=316389&r2=316390&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/Symtab.cpp (original)
+++ lldb/trunk/source/Symbol/Symtab.cpp Mon Oct 23 16:14:17 2017
@@ -399,29 +399,6 @@ void Symtab::InitNameIndexes() {
m_basename_to_index.SizeToFit();
m_method_to_index.Sort();
m_method_to_index.SizeToFit();
-
- // static StreamFile a ("/tmp/a.txt");
- //
- // count = m_basename_to_index.GetSize();
- // if (count)
- // {
- // for (size_t i=0; i<count; ++i)
- // {
- // if (m_basename_to_index.GetValueAtIndex(i, entry.value))
- // a.Printf ("%s BASENAME\n",
- // m_symbols[entry.value].GetMangled().GetName().GetCString());
- // }
- // }
- // count = m_method_to_index.GetSize();
- // if (count)
- // {
- // for (size_t i=0; i<count; ++i)
- // {
- // if (m_method_to_index.GetValueAtIndex(i, entry.value))
- // a.Printf ("%s METHOD\n",
- // m_symbols[entry.value].GetMangled().GetName().GetCString());
- // }
- // }
}
}
More information about the lldb-commits
mailing list