mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 06:30:30 +00:00
Fix GCC again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3773fb46ba
commit
01a4db3ed4
@ -762,7 +762,7 @@ error_code ELFObjectFile<target_endianness, is64Bits>
|
||||
if (Rel.w.c >= (relocsec->sh_size / relocsec->sh_entsize)) {
|
||||
// We have reached the end of the relocations for this section. See if there
|
||||
// is another relocation section.
|
||||
typename RelocMap_t::mapped_type &relocseclist =
|
||||
typename RelocMap_t::mapped_type relocseclist =
|
||||
SectionRelocMap.lookup(getSection(Rel.w.a));
|
||||
|
||||
// Do a binary search for the current reloc section index (which must be
|
||||
|
@ -271,9 +271,9 @@ static void DumpSymbolNamesFromModule(Module *M) {
|
||||
|
||||
static void DumpSymbolNamesFromObject(ObjectFile *obj) {
|
||||
error_code ec;
|
||||
for (ObjectFile::symbol_iterator i = obj->begin_symbols(),
|
||||
e = obj->end_symbols();
|
||||
i != e; i.increment(ec)) {
|
||||
for (symbol_iterator i = obj->begin_symbols(),
|
||||
e = obj->end_symbols();
|
||||
i != e; i.increment(ec)) {
|
||||
if (error(ec)) break;
|
||||
bool internal;
|
||||
if (error(i->isInternal(internal))) break;
|
||||
|
Loading…
Reference in New Issue
Block a user