mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 20:53:29 +08:00
Fix MSVC "not all control paths return a value" warning. NFCI.
This commit is contained in:
@@ -1589,6 +1589,7 @@ int64_t DynamicReloc::computeAddend() const {
|
||||
assert(sym == nullptr);
|
||||
return getMipsPageAddr(outputSec->addr) + addend;
|
||||
}
|
||||
llvm_unreachable("Unknown DynamicReloc::Kind enum");
|
||||
}
|
||||
|
||||
uint32_t DynamicReloc::getSymIndex(SymbolTableBaseSection *symTab) const {
|
||||
|
||||
Reference in New Issue
Block a user