summaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2018-09-30 15:08:18 +0000
committerEd Maste <emaste@freebsd.org>2018-09-30 15:08:18 +0000
commit0b90a3231b1850d1f4f75d51cc8f39b1e1bc0457 (patch)
treeb1257c97dcd702915e51658d43b1dd69fbcfc1cb /clang
parent16f8e65ec7222a822a1c88285387f67332b8e156 (diff)
Update ifunc attribute support documentation
Previously we documented GNU binutils and glibc versions required for ifunc support, but our own lld linker and FreeBSD's rtld also support ifuncs. Differential Revision: https://reviews.llvm.org/D52696
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/AttrDocs.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index aaa1935e0d7..f2ecdfda26e 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -3370,7 +3370,7 @@ The symbol name of the resolver function is given in quotes. A function with th
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.
}];
}