We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb329f1 commit b1575f9Copy full SHA for b1575f9
lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
@@ -53,7 +53,7 @@ static bool IsDwpSymbolFile(const lldb::ModuleSP &module_sp,
53
ObjectFileSP dwp_obj_file = ObjectFile::FindPlugin(
54
module_sp, &file_spec, 0, FileSystem::Instance().GetByteSize(file_spec),
55
dwp_file_data_sp, dwp_file_data_offset);
56
- if (!ObjectFileELF::classof(dwp_obj_file.get()))
+ if (!dwp_obj_file || !ObjectFileELF::classof(dwp_obj_file.get()))
57
return false;
58
// The presence of a debug_cu_index section is the key identifying feature of
59
// a DWP file. Make sure we don't fill in the section list on dwp_obj_file
0 commit comments