[PATCH] D146938: RuntimeDyldELF: Clear GOTOffsetMap when resetting GOT section

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 11:37:14 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2e1b838a889f: [RuntimeDyld] RuntimeDyldELF: Clear GOTOffsetMap when resetting GOT section. (authored by gmarkall, committed by lhames).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146938/new/

https://reviews.llvm.org/D146938

Files:
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp


Index: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
===================================================================
--- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -2406,6 +2406,7 @@
     }
   }
 
+  GOTOffsetMap.clear();
   GOTSectionID = 0;
   CurrentGOTIndex = 0;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146938.510577.patch
Type: text/x-patch
Size: 359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230403/93e1b722/attachment.bin>


More information about the llvm-commits mailing list