parent
31da324aaf
commit
aa983ce0fe
|
@ -1312,8 +1312,8 @@ unsigned DwarfLinker::cloneAttribute(DIE &Die,
|
|||
bool DwarfLinker::applyValidRelocs(MutableArrayRef<char> Data,
|
||||
uint32_t BaseOffset, bool isLittleEndian) {
|
||||
assert((NextValidReloc == 0 ||
|
||||
BaseOffset > ValidRelocs[NextValidReloc - 1].Offset) &&
|
||||
"BaseOffset should only be increasing.");
|
||||
BaseOffset > ValidRelocs[NextValidReloc - 1].Offset) &&
|
||||
"BaseOffset should only be increasing.");
|
||||
if (NextValidReloc >= ValidRelocs.size())
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue