summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-12-13 04:34:06 +0000
committerGreg Clayton <gclayton@apple.com>2011-12-13 04:34:06 +0000
commit8eb732e9e5967347c7676801ba0f18ca31ecd468 (patch)
treeea7a3030cc81755f391a4a03a03c6d08a7a76ef1
parent7200123fa3a4208584a45c4974cba6d77d6f956e (diff)
downloadbcm5719-llvm-8eb732e9e5967347c7676801ba0f18ca31ecd468.tar.gz
bcm5719-llvm-8eb732e9e5967347c7676801ba0f18ca31ecd468.zip
Use forward declarations more of the time to save on things that we need to
parse. llvm-svn: 146473
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index ba278c9f42d..6b16f0f6276 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -4902,7 +4902,7 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu,
// 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 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu,
// 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);
OpenPOWER on IntegriCloud