forked from OSchip/llvm-project
Implementing the method Target::TargetEventData::Dump (Stream *s) so that its clients can easily dump it out for informational messages.
http://reviews.llvm.org/D16244 Submitting on behalf of vishwesh@google.com. llvm-svn: 258150
This commit is contained in:
parent
a39d305ded
commit
8b85b03b06
|
@ -4147,6 +4147,12 @@ Target::TargetEventData::GetFlavorString ()
|
|||
void
|
||||
Target::TargetEventData::Dump (Stream *s) const
|
||||
{
|
||||
for (size_t i = 0; i < m_module_list.GetSize(); ++i)
|
||||
{
|
||||
if (i != 0)
|
||||
*s << ", ";
|
||||
m_module_list.GetModuleAtIndex(i)->GetDescription(s, lldb::eDescriptionLevelBrief);
|
||||
}
|
||||
}
|
||||
|
||||
const Target::TargetEventData *
|
||||
|
|
Loading…
Reference in New Issue