From 450e3f3c770ec00d0845ed588a7a3cca240550f9 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 12 Oct 2010 02:24:53 +0000 Subject: Fixed the Objective C method prototypes to be correct (the selectors weren't being chopped up correctly). The DWARF plug-in also keeps a map of the ObjC class names to selectors for easy parsing of all class selectors when we parse the class type. llvm-svn: 116290 --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp') diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index 4d7ce7fa6f47..402dcae292b7 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -225,13 +225,13 @@ ObjectFileELF::ParseDependentModules() // Locate the dynamic table. user_id_t dynsym_id = 0; user_id_t dynstr_id = 0; - for (SectionHeaderCollIter I = m_section_headers.begin(); - I != m_section_headers.end(); ++I) + for (SectionHeaderCollIter sh_pos = m_section_headers.begin(); + sh_pos != m_section_headers.end(); ++sh_pos) { - if (I->sh_type == SHT_DYNAMIC) + if (sh_pos->sh_type == SHT_DYNAMIC) { - dynsym_id = SectionIndex(I); - dynstr_id = I->sh_link + 1; // Section ID's are 1 based. + dynsym_id = SectionIndex(sh_pos); + dynstr_id = sh_pos->sh_link + 1; // Section ID's are 1 based. break; } } -- cgit v1.2.3