[PATCH] D15524: [GCC] Attribute ifunc support in clang
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 7 15:16:11 PDT 2016
rjmccall added inline comments.
Comment at: include/clang/Basic/AttrDocs.td:2371
@@ +2370,3 @@
+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.
> Probably better to say linux fwiw and not ELF.
The validation code in Sema is checking for an ELF target. If the restriction is more precise than that, then we should make a TargetInfo callback. Do the BSDs and other ELF targets not use binutils/glibc?
More information about the cfe-commits