freebsd-nq/lib/clang
Ed Maste ea28e71e86 clang: allow ifunc resolvers to accept arguments
Previously Clang required ifunc resolution functions to take no
arguments, presumably because GCC documented ifunc resolvers as taking
no arguments.  However, GCC accepts resolvers accepting arguments, and
our rtld passes CPU ID information (cpuid, hwcap, etc.) to ifunc
resolvers.  Just remove the check from the in-tree compiler for our in-
tree compiler; a different (per-OS) approach may be required upstream.

Reported by:	mjg
Approved by:	re (rgrimes)
MFC after:	1 week
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
2018-09-29 20:01:23 +00:00
..
headers More follow-up to r335799 (llvm/clang 6.0.1 update), where I forgot to 2018-06-30 15:03:22 +00:00
include Add optional LLVM BPF target support 2018-08-09 21:28:31 +00:00
libclang Next step in updating llvm/clang build glue: make lldb build. 2017-12-22 19:10:19 +00:00
liblldb Build llvm-extract with -lz, and add a few objects to liblldb, both of 2018-01-13 13:53:05 +00:00
libllvm Add optional LLVM BPF target support 2018-08-09 21:28:31 +00:00
libllvmminimal First step in updating llvm/clang build glue: make only the clang 2017-12-21 21:24:52 +00:00
clang.build.mk Completely revamp the way llvm, clang and lldb are built. 2016-08-26 22:44:22 +00:00
clang.pre.mk Add forgotten {llvm,clang}.pre.mk files. 2016-08-26 22:56:23 +00:00
freebsd_cc_version.h clang: allow ifunc resolvers to accept arguments 2018-09-29 20:01:23 +00:00
lldb.pre.mk Centralize where LLVM_SRCS, CLANG_SRCS and LLDB_SRCS are defined. 2016-08-27 10:00:33 +00:00
llvm.build.mk Add optional LLVM BPF target support 2018-08-09 21:28:31 +00:00
llvm.pre.mk Use SRCTOP and OBJTOP throughout the llvm/clang/lldb build. 2016-08-27 09:29:39 +00:00
Makefile Completely revamp the way llvm, clang and lldb are built. 2016-08-26 22:44:22 +00:00
Makefile.inc Improve the coverage of debug symbols for MK_DEBUG_FILES. 2017-08-23 23:30:25 +00:00