[Lldb-commits] [lldb] r149903 - in /lldb/trunk/source: Expression/ClangASTSource.cpp Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Symbol/ClangASTContext.cpp

Sean Callanan scallanan at apple.com
Mon Feb 6 13:28:03 PST 2012


Author: spyffe
Date: Mon Feb  6 15:28:03 2012
New Revision: 149903

URL: http://llvm.org/viewvc/llvm-project?rev=149903&view=rev
Log:
I left some stray debugging messages in the source
code.  Removing these.

Modified:
    lldb/trunk/source/Expression/ClangASTSource.cpp
    lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Expression/ClangASTSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangASTSource.cpp?rev=149903&r1=149902&r2=149903&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangASTSource.cpp (original)
+++ lldb/trunk/source/Expression/ClangASTSource.cpp Mon Feb  6 15:28:03 2012
@@ -987,9 +987,6 @@
     
     lldb::LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
     
-    if (!record->getNameAsString().compare("PseudoObjectExprBitfields"))
-        fprintf(stderr, "THIS IS THE ONE!");
-    
     if (log)
     {
         log->Printf("LayoutRecordType[%u] on (RecordDecl*)%p [name = '%s']",

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp?rev=149903&r1=149902&r2=149903&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Mon Feb  6 15:28:03 2012
@@ -1291,8 +1291,6 @@
     if (parent_die == NULL)
         return NULL;
     
-    const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (dwarf_cu->GetAddressByteSize());
-
     Args template_parameter_names;
     for (const DWARFDebugInfoEntry *die = parent_die->GetFirstChild(); 
          die != NULL; 
@@ -5156,9 +5154,6 @@
                     
                     if (type_name_cstr)
                     {
-                        if (die->GetOffset() == 0xaeaba)
-                            fprintf(stderr, "This is the one!");
-                        
                         bool type_handled = false;
                         if (tag == DW_TAG_subprogram)
                         {

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=149903&r1=149902&r2=149903&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Mon Feb  6 15:28:03 2012
@@ -40,6 +40,7 @@
 #include "clang/AST/RecordLayout.h"
 #include "clang/AST/Type.h"
 #include "clang/Basic/Builtins.h"
+#include "clang/Basic/Diagnostic.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/FileSystemOptions.h"
 #include "clang/Basic/SourceManager.h"





More information about the lldb-commits mailing list