[PATCH] D105465: [RuntimeDyld] Added support for relocation of indirect functions

Moritz Sichert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 01:26:06 PDT 2022


MoritzS updated this revision to Diff 463143.
MoritzS added a comment.

Fixed a failing test: In ELFObjectFile I added a case to set the symbol type to
ST_Function also for ifunc symbols. As far as I know, ifunc symbols can only be
functions, but even objdump from binutils doesn't print those symbols with the
function type. I removed that case again, ifunc symbols now have type ST_Other.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105465

Files:
  llvm/include/llvm/Object/ELFObjectFile.h
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
  llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_GNU_IFUNC.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105465.463143.patch
Type: text/x-patch
Size: 18686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220927/6795d47e/attachment.bin>


More information about the llvm-commits mailing list