[Lldb-commits] [lldb] r242076 - Don't crash if we are unable to get the member type.
Greg Clayton
gclayton at apple.com
Mon Jul 13 15:08:16 PDT 2015
Author: gclayton
Date: Mon Jul 13 17:08:16 2015
New Revision: 242076
URL: http://llvm.org/viewvc/llvm-project?rev=242076&view=rev
Log:
Don't crash if we are unable to get the member type.
<rdar://problem/21624447>
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=242076&r1=242075&r2=242076&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Mon Jul 13 17:08:16 2015
@@ -2210,7 +2210,7 @@ SymbolFileDWARF::ParseChildMembers
}
}
- if (prop_name != NULL)
+ if (prop_name != NULL && member_type)
{
clang::ObjCIvarDecl *ivar_decl = NULL;
More information about the lldb-commits
mailing list