forked from OSchip/llvm-project
Fix the dumping of symbol tables to be correctly alligned for all entries when using "image dump symtab".
llvm-svn: 230508
This commit is contained in:
parent
5c3f1c91f2
commit
2d9ce1926c
|
@ -291,10 +291,7 @@ Symbol::GetDescription (Stream *s, lldb::DescriptionLevel level, Target *target)
|
|||
void
|
||||
Symbol::Dump(Stream *s, Target *target, uint32_t index) const
|
||||
{
|
||||
// s->Printf("%.*p: ", (int)sizeof(void*) * 2, this);
|
||||
// s->Indent();
|
||||
// s->Printf("Symbol[%5u] %6u %c%c %-12s ",
|
||||
s->Printf("[%5u] %6u %c%c%c %-12s ",
|
||||
s->Printf("[%5u] %6u %c%c%c %-15s ",
|
||||
index,
|
||||
GetID(),
|
||||
m_is_debug ? 'D' : ' ',
|
||||
|
|
|
@ -201,8 +201,8 @@ Symtab::DumpSymbolHeader (Stream *s)
|
|||
s->Indent(" |Synthetic symbol\n");
|
||||
s->Indent(" ||Externally Visible\n");
|
||||
s->Indent(" |||\n");
|
||||
s->Indent("Index UserID DSX Type File Address/Value Load Address Size Flags Name\n");
|
||||
s->Indent("------- ------ --- ------------ ------------------ ------------------ ------------------ ---------- ----------------------------------\n");
|
||||
s->Indent("Index UserID DSX Type File Address/Value Load Address Size Flags Name\n");
|
||||
s->Indent("------- ------ --- --------------- ------------------ ------------------ ------------------ ---------- ----------------------------------\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue