[PATCH] D139163: Utils: Add utility pass to lower ifuncs

Moritz Sichert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 01:21:11 PST 2022


MoritzS added a comment.

To answer your questions in the comments about what to do about resolvers with arguments: At least glibc always calls ifunc resolvers without any arguments. It just reads the address of the resolver function from the ELF file, casts it to a pointer to a void-returning function with no arguments and calls it.

So, I agree: Resolvers with arguments should not be allowed.


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

https://reviews.llvm.org/D139163



More information about the llvm-commits mailing list