We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e8f9ab commit 8b2c25dCopy full SHA for 8b2c25d
lld/ELF/SyntheticSections.cpp
@@ -1651,8 +1651,8 @@ void RelocationBaseSection::partitionRels() {
1651
if (!combreloc)
1652
return;
1653
const RelType relativeRel = target->relativeRel;
1654
- numRelativeRelocs =
1655
- llvm::partition(relocs, [=](auto &r) { return r.type == relativeRel; }) -
+ numRelativeRelocs = llvm::partition(
+ relocs, [=](const DynamicReloc &r) { return r.type == relativeRel; }) -
1656
relocs.begin();
1657
}
1658
0 commit comments