[PATCH] D52430: Introduce a flag to warn when IFUNC symbols are used with text relocations.

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 26 07:22:47 PDT 2018


emaste added inline comments.


================
Comment at: ELF/Options.td:352
+defm warn_ifunc_textrel: B<"warn-ifunc-textrel",
+   "Warn about using IFunc symbols with text relocations",
+   "Do not warn about using IFunc symbols with text relocations (default)">;
----------------
ruiu wrote:
> Isn't IFUNC all uppercase?
I don't think so - GNU documentation uses lowercase //ifunc// in listing the attribute etc., I think the only uppercase cases are things like `STT_GNU_IFUNC` .


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52430





More information about the llvm-commits mailing list