[llvm-branch-commits] [NFC][ELF] Don't reimplement addReloc in GotSection::addConstant (PR #171177)

Jessica Clarke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 8 10:30:20 PST 2025


https://github.com/jrtc27 created https://github.com/llvm/llvm-project/pull/171177

This is just a copy of InputSectionBase::addReloc, so we can just
forward to that rathe than poking into the internals. Whilst here, move
the implementation to the header so it can be inlined.





More information about the llvm-branch-commits mailing list