[Lldb-commits] [lldb] r146473 - /lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Greg Clayton gclayton at apple.com
Mon Dec 12 20:34:06 PST 2011


Author: gclayton
Date: Mon Dec 12 22:34:06 2011
New Revision: 146473

URL: http://llvm.org/viewvc/llvm-project?rev=146473&view=rev
Log:
Use forward declarations more of the time to save on things that we need to 
parse.


Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

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=146473&r1=146472&r2=146473&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Mon Dec 12 22:34:06 2011
@@ -4902,7 +4902,7 @@
                                         // prototype off of, so we need this type to be completed so that the
                                         // m_die_to_decl_ctx for the method in the specification has a valid
                                         // clang decl context.
-                                        class_type->GetClangFullType();
+                                        class_type->GetClangForwardType();
                                         // If we have a specification, then the function type should have been
                                         // made with the specification and not with this die.
                                         DWARFCompileUnitSP spec_cu_sp;
@@ -4926,7 +4926,7 @@
                                         // prototype off of, so we need this type to be completed so that the
                                         // m_die_to_decl_ctx for the method in the abstract origin has a valid
                                         // clang decl context.
-                                        class_type->GetClangFullType();
+                                        class_type->GetClangForwardType();
 
                                         DWARFCompileUnitSP abs_cu_sp;
                                         const DWARFDebugInfoEntry* abs_die = DebugInfo()->GetDIEPtr(abstract_origin_die_offset, &abs_cu_sp);





More information about the lldb-commits mailing list