llvm.org GIT mirror llvm / 01a4db3
Fix GCC again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141389 91177308-0d34-0410-b5e6-96231b3b80d8 Michael J. Spencer 8 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
761761 if (Rel.w.c >= (relocsec->sh_size / relocsec->sh_entsize)) {
762762 // We have reached the end of the relocations for this section. See if there
763763 // is another relocation section.
764 typename RelocMap_t::mapped_type &relocseclist =
764 typename RelocMap_t::mapped_type relocseclist =
765765 SectionRelocMap.lookup(getSection(Rel.w.a));
766766
767767 // Do a binary search for the current reloc section index (which must be
270270
271271 static void DumpSymbolNamesFromObject(ObjectFile *obj) {
272272 error_code ec;
273 for (ObjectFile::symbol_iterator i = obj->begin_symbols(),
274 e = obj->end_symbols();
275 i != e; i.increment(ec)) {
273 for (symbol_iterator i = obj->begin_symbols(),
274 e = obj->end_symbols();
275 i != e; i.increment(ec)) {
276276 if (error(ec)) break;
277277 bool internal;
278278 if (error(i->isInternal(internal))) break;