forked from OSchip/llvm-project
parent
dde9cff32a
commit
201a88591d
|
@ -141,9 +141,9 @@ bool
|
|||
SBAddress::GetDescription (SBStream &description)
|
||||
{
|
||||
if (m_opaque_ap.get())
|
||||
{
|
||||
{
|
||||
m_opaque_ap->DumpDebug (description.get());
|
||||
}
|
||||
}
|
||||
else
|
||||
description.Printf ("No value");
|
||||
|
||||
|
|
|
@ -138,21 +138,21 @@ bool
|
|||
SBBlock::GetDescription (SBStream &description)
|
||||
{
|
||||
if (m_opaque_ptr)
|
||||
{
|
||||
{
|
||||
lldb::user_id_t id = m_opaque_ptr->GetID();
|
||||
description.Printf ("Block: {id: %d} ", id);
|
||||
if (IsInlined())
|
||||
{
|
||||
{
|
||||
description.Printf (" (inlined, '%s') ", GetInlinedName());
|
||||
}
|
||||
}
|
||||
lldb_private::SymbolContext sc;
|
||||
m_opaque_ptr->CalculateSymbolContext (&sc);
|
||||
if (sc.function)
|
||||
{
|
||||
{
|
||||
m_opaque_ptr->DumpAddressRanges (description.get(),
|
||||
sc.function->GetAddressRange().GetBaseAddress().GetFileAddress());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
description.Printf ("No value");
|
||||
|
||||
|
|
|
@ -124,11 +124,11 @@ bool
|
|||
SBCompileUnit::GetDescription (SBStream &description)
|
||||
{
|
||||
if (m_opaque_ptr)
|
||||
{
|
||||
{
|
||||
m_opaque_ptr->Dump (description.get(), false);
|
||||
}
|
||||
}
|
||||
else
|
||||
description.Printf ("No Value");
|
||||
description.Printf ("No Value");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -155,11 +155,11 @@ bool
|
|||
SBEvent::GetDescription (SBStream &description)
|
||||
{
|
||||
if (m_opaque)
|
||||
{
|
||||
{
|
||||
m_opaque->Dump (description.get());
|
||||
}
|
||||
}
|
||||
else
|
||||
description.Printf ("No value");
|
||||
description.Printf ("No value");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ SBFunction::GetDescription (SBStream &description)
|
|||
m_opaque_ptr->Dump (description.get(), false);
|
||||
}
|
||||
else
|
||||
description.Printf ("No value");
|
||||
description.Printf ("No value");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -506,9 +506,9 @@ bool
|
|||
SBTarget::GetDescription (SBStream &description)
|
||||
{
|
||||
if (m_opaque_sp)
|
||||
{
|
||||
{
|
||||
m_opaque_sp->Dump (description.get());
|
||||
}
|
||||
}
|
||||
else
|
||||
description.Printf ("No value");
|
||||
|
||||
|
|
Loading…
Reference in New Issue