[Lldb-commits] [lldb] r161696 - /lldb/trunk/source/Symbol/UnwindPlan.cpp

Jason Molenda jmolenda at apple.com
Fri Aug 10 13:53:00 PDT 2012


Author: jmolenda
Date: Fri Aug 10 15:52:59 2012
New Revision: 161696

URL: http://llvm.org/viewvc/llvm-project?rev=161696&view=rev
Log:
Remove a little unuseful output from the UnwindPlan::Row::Dump and UnwindPlan::Dump methods.

Modified:
    lldb/trunk/source/Symbol/UnwindPlan.cpp

Modified: lldb/trunk/source/Symbol/UnwindPlan.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/UnwindPlan.cpp?rev=161696&r1=161695&r2=161696&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/UnwindPlan.cpp (original)
+++ lldb/trunk/source/Symbol/UnwindPlan.cpp Fri Aug 10 15:52:59 2012
@@ -172,7 +172,7 @@
         s.Printf ("%s", reg_info->name);
     else
         s.Printf ("reg(%u)", GetCFARegister());
-    s.Printf ("%+3d =>", GetCFAOffset ());
+    s.Printf ("%+3d => ", GetCFAOffset ());
     for (collection::const_iterator idx = m_register_locations.begin (); idx != m_register_locations.end (); ++idx)
     {
         reg_info = unwind_plan->GetRegisterInfo (thread, idx->first);
@@ -399,21 +399,6 @@
         m_plan_valid_address_range.Dump (&s, target_sp.get(), Address::DumpStyleSectionNameOffset);
         s.EOL();
     }
-    else
-    {
-        s.PutCString ("No valid address range recorded for this UnwindPlan.\n");
-    }
-    s.Printf ("UnwindPlan register kind %d", m_register_kind);
-    switch (m_register_kind)
-    {
-        case eRegisterKindGCC:      s.PutCString (" [eRegisterKindGCC]"); break;
-        case eRegisterKindDWARF:    s.PutCString (" [eRegisterKindDWARF]"); break;
-        case eRegisterKindGeneric:  s.PutCString (" [eRegisterKindGeneric]"); break;
-        case eRegisterKindGDB:      s.PutCString (" [eRegisterKindGDB]"); break;
-        case eRegisterKindLLDB:     s.PutCString (" [eRegisterKindLLDB]"); break;
-        default: s.PutCString (" [eRegisterKind???]"); break; 
-    }
-    s.EOL();
     collection::const_iterator pos, begin = m_row_list.begin(), end = m_row_list.end();
     for (pos = begin; pos != end; ++pos)
     {





More information about the lldb-commits mailing list