[Lldb-commits] [lldb] 73058e3 - [lldb] Fix typo in SymbolVendorELF

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 8 22:15:51 PST 2023


Author: Jonas Devlieghere
Date: 2023-03-08T22:15:36-08:00
New Revision: 73058e330134d275070d49dba80e5fda50ec015b

URL: https://github.com/llvm/llvm-project/commit/73058e330134d275070d49dba80e5fda50ec015b
DIFF: https://github.com/llvm/llvm-project/commit/73058e330134d275070d49dba80e5fda50ec015b.diff

LOG: [lldb] Fix typo in SymbolVendorELF

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 3595966b42e4..55a663bb1b96 100644
--- a/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
+++ b/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
@@ -111,7 +111,7 @@ SymbolVendorELF::CreateInstance(const lldb::ModuleSP &module_sp,
   SectionList *module_section_list = module_sp->GetSectionList();
   SectionList *objfile_section_list = dsym_objfile_sp->GetSectionList();
 
-  if (!module_section_list || !!objfile_section_list)
+  if (!module_section_list || !objfile_section_list)
     return nullptr;
 
   static const SectionType g_sections[] = {


        


More information about the lldb-commits mailing list