1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/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
clang.pre.mk
freebsd_cc_version.h clang: allow ifunc resolvers to accept arguments 2018-09-29 20:01:23 +00:00
lldb.pre.mk
llvm.build.mk Add optional LLVM BPF target support 2018-08-09 21:28:31 +00:00
llvm.pre.mk
Makefile
Makefile.inc