Author: Muhammad Omair Javaid Date: 2024-03-23T03:31:25+05:00 New Revision: 4406e4a8bd5acadd980d84356b36030cadf9a61d
URL: https://github.com/llvm/llvm-project/commit/4406e4a8bd5acadd980d84356b36030cadf9a61d DIFF: https://github.com/llvm/llvm-project/commit/4406e4a8bd5acadd980d84356b36030cadf9a61d.diff LOG: Revert "Missed a null-ptr check in previous PR for Debuginfod testing (#86292)" This reverts commit b1575f9082071702bd6aaa2600ce9fe011a091e9. Added: Modified: lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp b/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp index a9956aa9075fe2..91b8b4a979e0c7 100644 --- a/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp +++ b/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp @@ -53,7 +53,7 @@ static bool IsDwpSymbolFile(const lldb::ModuleSP &module_sp, ObjectFileSP dwp_obj_file = ObjectFile::FindPlugin( module_sp, &file_spec, 0, FileSystem::Instance().GetByteSize(file_spec), dwp_file_data_sp, dwp_file_data_offset); - if (!dwp_obj_file || !ObjectFileELF::classof(dwp_obj_file.get())) + if (!ObjectFileELF::classof(dwp_obj_file.get())) return false; // The presence of a debug_cu_index section is the key identifying feature of // a DWP file. Make sure we don't fill in the section list on dwp_obj_file _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits