Moved the section load list up into the target so we can use the target
to symbolicate things without the need for a valid process subclass.
llvm-svn: 113895
diff --git a/lldb/source/Symbol/Symtab.cpp b/lldb/source/Symbol/Symtab.cpp
index 25f1d7d4..8326a44 100644
--- a/lldb/source/Symbol/Symtab.cpp
+++ b/lldb/source/Symbol/Symtab.cpp
@@ -62,7 +62,7 @@
}
void
-Symtab::Dump(Stream *s, Process *process) const
+Symtab::Dump(Stream *s, Target *target) const
{
const_iterator pos;
s->Printf("%.*p: ", (int)sizeof(void*) * 2, this);
@@ -92,14 +92,14 @@
for (pos = m_symbols.begin(); pos != end; ++pos)
{
s->Indent();
- pos->Dump(s, process, std::distance(begin, pos));
+ pos->Dump(s, target, std::distance(begin, pos));
}
}
s->IndentLess ();
}
void
-Symtab::Dump(Stream *s, Process *process, std::vector<uint32_t>& indexes) const
+Symtab::Dump(Stream *s, Target *target, std::vector<uint32_t>& indexes) const
{
const size_t num_symbols = GetNumSymbols();
s->Printf("%.*p: ", (int)sizeof(void*) * 2, this);
@@ -118,7 +118,7 @@
if (idx < num_symbols)
{
s->Indent();
- m_symbols[idx].Dump(s, process, idx);
+ m_symbols[idx].Dump(s, target, idx);
}
}
}