summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-10-12 02:24:53 +0000
committerGreg Clayton <gclayton@apple.com>2010-10-12 02:24:53 +0000
commit450e3f3c770ec00d0845ed588a7a3cca240550f9 (patch)
tree5a4581c5b0d13c4b91a670d5f4f0827b270d87d9 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent01cbf2de0f1efa570e0d429cc224db53e068cbc5 (diff)
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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp10
1 files changed, 5 insertions, 5 deletions
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;
}
}