[Lldb-commits] [lldb] r153540 - /lldb/trunk/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp

Johnny Chen johnny.chen at apple.com
Tue Mar 27 14:38:19 PDT 2012


Author: johnny
Date: Tue Mar 27 16:38:19 2012
New Revision: 153540

URL: http://llvm.org/viewvc/llvm-project?rev=153540&view=rev
Log:
Commented out printf's for the time being.

Modified:
    lldb/trunk/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp

Modified: lldb/trunk/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp?rev=153540&r1=153539&r2=153540&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp Tue Mar 27 16:38:19 2012
@@ -104,10 +104,12 @@
                     const char *name = symbol->GetMangled().GetDemangledName().AsCString();
                     if (strstr(name, vtable_demangled_prefix) == name)
                     {
+                        /*
                         printf ("0x%16.16llx: static-type = '%s' has vtable symbol '%s'\n",
                                 original_ptr,
                                 in_value.GetTypeName().GetCString(),
                                 name);
+                        */
                          // We are a C++ class, that's good.  Get the class name and look it up:
                         const char *class_name = name + strlen(vtable_demangled_prefix);
                         class_type_or_name.SetName (class_name);
@@ -120,19 +122,19 @@
                                                                                class_types);
                         if (num_matches == 0)
                         {
-                            printf ("0x%16.16llx: is not dynamic\n", original_ptr);
+                            //printf ("0x%16.16llx: is not dynamic\n", original_ptr);
                             return false;
                         }
                         if (num_matches == 1)
                         {
                             lldb::TypeSP type_sp(class_types.GetTypeAtIndex(0));
-
+                            /*
                             printf ("0x%16.16llx: static-type = '%s' has single matching dynamic type: uid={0x%llx}, type-name='%s'\n",
                                     original_ptr,
                                     in_value.GetTypeName().AsCString(),
                                     type_sp->GetID(),
                                     type_sp->GetName().GetCString());
-
+                            */
                             class_type_or_name.SetTypeSP(class_types.GetTypeAtIndex(0));
                         }
                         else if (num_matches > 1)
@@ -142,12 +144,13 @@
                                 lldb::TypeSP type_sp(class_types.GetTypeAtIndex(i));
                                 if (type_sp)
                                 {
+                                    /*
                                     printf ("0x%16.16llx: static-type = '%s' has multiple matching dynamic types: uid={0x%llx}, type-name='%s'\n",
                                             original_ptr,
                                             in_value.GetTypeName().AsCString(),
                                             type_sp->GetID(),
                                             type_sp->GetName().GetCString());
-                                    
+                                    */
 
 //                                    if (ClangASTContext::IsCXXClassType(type_sp->GetClangFullType()))
 //                                    {





More information about the lldb-commits mailing list