diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -937,7 +937,7 @@ Address ObjectFileELF::GetBaseAddress() { if (GetType() == ObjectFile::eTypeObjectFile) { for (SectionHeaderCollIter I = std::next(m_section_headers.begin()); - I != m_section_headers.end(); ++I) { + I != m_section_headers.end(); ++I) { const ELFSectionHeaderInfo &header = *I; if (header.sh_flags & SHF_ALLOC) return Address(GetSectionList()->FindSectionByID(SectionIndex(I)), 0);