mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Fix compiler warnigns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119175 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a99e778ed8
commit
3285877131
@ -290,7 +290,7 @@ namespace {
|
|||||||
const MCFragment *Fragment, const MCFixup &Fixup,
|
const MCFragment *Fragment, const MCFixup &Fixup,
|
||||||
MCValue Target, uint64_t &FixedValue) {
|
MCValue Target, uint64_t &FixedValue) {
|
||||||
assert(0 && "RecordRelocation is not specific enough");
|
assert(0 && "RecordRelocation is not specific enough");
|
||||||
};
|
}
|
||||||
|
|
||||||
virtual uint64_t getSymbolIndexInSymbolTable(const MCAssembler &Asm,
|
virtual uint64_t getSymbolIndexInSymbolTable(const MCAssembler &Asm,
|
||||||
const MCSymbol *S);
|
const MCSymbol *S);
|
||||||
@ -1335,7 +1335,7 @@ MCObjectWriter *llvm::createELFObjectWriter(raw_ostream &OS,
|
|||||||
case ELF::EM_ARM:
|
case ELF::EM_ARM:
|
||||||
return new ARMELFObjectWriter(OS, Is64Bit, IsLittleEndian, EMachine,
|
return new ARMELFObjectWriter(OS, Is64Bit, IsLittleEndian, EMachine,
|
||||||
HasRelocationAddend, OSType); break;
|
HasRelocationAddend, OSType); break;
|
||||||
default: assert(0 && "Unsupported architecture"); break;
|
default: llvm_unreachable("Unsupported architecture"); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user