[PATCH] D52696: Update ifunc attribute support documentation

Ed Maste via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 30 08:09:57 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL343408: Update ifunc attribute support documentation (authored by emaste, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D52696?vs=167626&id=167645#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52696

Files:
  cfe/trunk/include/clang/Basic/AttrDocs.td


Index: cfe/trunk/include/clang/Basic/AttrDocs.td
===================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td
+++ cfe/trunk/include/clang/Basic/AttrDocs.td
@@ -3370,7 +3370,7 @@
 
 The ``ifunc`` attribute may only be used on a function declaration.  A function declaration with an ``ifunc`` attribute is considered to be a definition of the declared entity.  The entity must not have weak linkage; for example, in C++, it cannot be applied to a declaration if a definition at that location would be considered inline.
 
-Not all targets support this attribute.  ELF targets support this attribute when using binutils v2.20.1 or higher and glibc v2.11.1 or higher.  Non-ELF targets currently do not support this attribute.
+Not all targets support this attribute. ELF target support depends on both the linker and runtime linker, and is available in at least lld 4.0 and later, binutils 2.20.1 and later, glibc v2.11.1 and later, and FreeBSD 9.1 and later. Non-ELF targets currently do not support this attribute.
   }];
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52696.167645.patch
Type: text/x-patch
Size: 1078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180930/a5e87e3a/attachment-0001.bin>


More information about the cfe-commits mailing list