[RuntimeDyld] RuntimeDyldELF: Clear GOTOffsetMap when resetting GOT section.
When the GOT section ID is reset, the GOTOffsetMap must also be cleared, otherwise spurious matches can be located when handling GOT relocations in subsequently-linked objects. Fixes Issue #61402 - see https://github.com/llvm/llvm-project/issues/61402. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D146938
Loading
Please sign in to comment