Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
This commit is contained in:
parent
9be678b1cd
commit
76c7fc5f6b
3
crypto/external/bsd/openssh/lib/Makefile
vendored
3
crypto/external/bsd/openssh/lib/Makefile
vendored
@ -1,9 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.29 2019/10/13 07:28:05 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.30 2019/11/11 22:44:56 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-error=sizeof-array-div
|
||||
LIB= ssh
|
||||
SRCS=\
|
||||
addrmatch.c \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.19 2018/10/06 15:31:09 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2019/11/11 22:44:56 joerg Exp $
|
||||
|
||||
# RCSid:
|
||||
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
|
||||
@ -27,7 +27,7 @@ USE_FIPS= no
|
||||
|
||||
# XXX: There's a bit of work to do before we can enable warnings.
|
||||
WARNS=0
|
||||
CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses
|
||||
CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
|
||||
# XXX: This warning seems to trigger incorrectly
|
||||
CWARNFLAGS.clang+= -Wno-atomic-alignment
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.1219 2019/10/15 18:33:57 christos Exp $
|
||||
# $NetBSD: mi,v 1.1220 2019/11/11 22:44:56 joerg Exp $
|
||||
#
|
||||
# Note: Don't delete entries from here - mark them as "obsolete" instead,
|
||||
# unless otherwise stated below.
|
||||
@ -1088,7 +1088,8 @@
|
||||
./usr/include/clang-3.8 base-obsolete obsolete
|
||||
./usr/include/clang-4.0 base-obsolete obsolete
|
||||
./usr/include/clang-5.0 base-obsolete obsolete
|
||||
./usr/include/clang-7.0 base-c-usr
|
||||
./usr/include/clang-7.0 base-obsolete obsolete
|
||||
./usr/include/clang-9.0 base-c-usr
|
||||
./usr/include/compat base-obsolete obsolete
|
||||
./usr/include/crypto base-c-usr
|
||||
./usr/include/dev base-c-usr
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ad.aarch64,v 1.34 2019/10/28 18:08:44 joerg Exp $
|
||||
# $NetBSD: ad.aarch64,v 1.35 2019/11/11 22:44:56 joerg Exp $
|
||||
./usr/include/aarch64 comp-c-include
|
||||
./usr/include/aarch64/ansi.h comp-c-include
|
||||
./usr/include/aarch64/aout_machdep.h comp-c-include
|
||||
@ -117,9 +117,12 @@
|
||||
./usr/include/arm/wchar_limits.h comp-c-include
|
||||
./usr/include/clang-5.0/arm_acle.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/arm_neon.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/arm64intr.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/arm_acle.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/arm_neon.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/arm64intr.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/arm_acle.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/arm_neon.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/arm64intr.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/arm_acle.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/arm_neon.h comp-c-include llvm
|
||||
./usr/include/evbarm comp-c-include
|
||||
./usr/include/evbarm/disklabel.h comp-c-include
|
||||
./usr/include/evbarm/intr.h comp-c-include
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ad.arm,v 1.98 2019/10/03 00:59:50 mrg Exp $
|
||||
# $NetBSD: ad.arm,v 1.99 2019/11/11 22:44:56 joerg Exp $
|
||||
./usr/bin/elf2aout comp-sysutil-bin
|
||||
./usr/include/acorn26 comp-obsolete obsolete
|
||||
./usr/include/acorn26/ansi.h comp-obsolete obsolete
|
||||
@ -304,8 +304,10 @@
|
||||
./usr/include/clang-4.0/arm_neon.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/arm_acle.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/arm_neon.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/arm_acle.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/arm_neon.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/arm_acle.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/arm_neon.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/arm_acle.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/arm_neon.h comp-c-include llvm
|
||||
./usr/include/epoc32 comp-c-include
|
||||
./usr/include/epoc32/ansi.h comp-obsolete obsolete
|
||||
./usr/include/epoc32/aout_machdep.h comp-obsolete obsolete
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ad.mips,v 1.83 2019/10/03 00:59:50 mrg Exp $
|
||||
# $NetBSD: ad.mips,v 1.84 2019/11/11 22:44:56 joerg Exp $
|
||||
-./usr/lib/64/libgomp.a
|
||||
-./usr/lib/64/libgomp.so
|
||||
-./usr/lib/64/libgomp.so.1
|
||||
@ -11,7 +11,8 @@
|
||||
./usr/bin/elf2ecoff comp-sysutil-bin
|
||||
./usr/include/clang-4.0/msa.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/msa.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/msa.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/msa.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/msa.h comp-c-include llvm
|
||||
./usr/include/g++/bits/mips32 comp-c-include compat,arch64
|
||||
./usr/include/g++/bits/mips32/c++config.h comp-c-include compat,arch64,gcc
|
||||
./usr/include/g++/bits/mips64 comp-c-include compat,arch64
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ad.powerpc,v 1.96 2019/11/02 21:34:58 christos Exp $
|
||||
# $NetBSD: ad.powerpc,v 1.97 2019/11/11 22:44:56 joerg Exp $
|
||||
./usr/bin/elf2aout comp-sysutil-bin
|
||||
./usr/bin/psim comp-debug-bin gdb
|
||||
./usr/include/altivec.h comp-obsolete obsolete
|
||||
@ -14,9 +14,12 @@
|
||||
./usr/include/clang-5.0/altivec.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/htmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/htmxlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/altivec.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/htmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/htmxlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/altivec.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/htmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/htmxlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/altivec.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/htmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/htmxlintrin.h comp-c-include llvm
|
||||
./usr/include/g++/bits/powerpc comp-c-include compat
|
||||
./usr/include/g++/bits/powerpc/c++config.h comp-c-include compat,gcc
|
||||
./usr/include/g++/bits/powerpc64 comp-c-include compat
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: md.amd64,v 1.274 2019/10/03 00:59:50 mrg Exp $
|
||||
# $NetBSD: md.amd64,v 1.275 2019/11/11 22:44:56 joerg Exp $
|
||||
./usr/include/amd64 comp-c-include
|
||||
./usr/include/amd64/ansi.h comp-c-include
|
||||
./usr/include/amd64/aout_machdep.h comp-c-include
|
||||
@ -332,85 +332,169 @@
|
||||
./usr/include/clang-5.0/xsaveoptintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/xsavesintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/xtestintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/__wmmintrin_aes.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/__wmmintrin_pclmul.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/adxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/ammintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512bitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512bwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512cdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512dqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512erintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512fintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512ifmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512ifmavlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512pfintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vbmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vbmivlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlbitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlbwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlcdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vldqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlvbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlvnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vpopcntdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vpopcntdqvlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/bmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/bmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/cetintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/cldemoteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/clflushoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/clwbintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/clzerointrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/cpuid.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/emmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/f16cintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/fma4intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/fmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/fxsrintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/gfniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/ia32intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/immintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/invpcidintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/lwpintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/lzcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mm3dnow.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mm_malloc.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/movdirintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mwaitxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/nmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/pconfigintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/pkuintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/pmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/popcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/prfchwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/ptwriteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/rdseedintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/rtmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/sgxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/shaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/smmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/tbmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/tmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/vaesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/vpclmulqdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/waitpkgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/wbnoinvdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/wmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/x86intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xopintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsavecintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsaveintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsaveoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsavesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xtestintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/__wmmintrin_aes.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/__wmmintrin_pclmul.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/adxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/ammintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512bitalgintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512bwintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512cdintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512dqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512erintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512fintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512ifmaintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512ifmavlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512pfintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vbmi2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vbmiintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vbmivlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlbitalgintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlbwintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlcdintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vldqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlvbmi2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlvnniintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vnniintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vpopcntdqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vpopcntdqvlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/bmi2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/bmiintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/cetintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/cldemoteintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/clflushoptintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/clwbintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/clzerointrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/cpuid.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/emmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/f16cintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/fma4intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/fmaintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/fxsrintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/gfniintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/ia32intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/immintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/invpcidintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/lwpintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/lzcntintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mm3dnow.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mm_malloc.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/movdirintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mwaitxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/nmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/pconfigintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/pkuintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/pmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/popcntintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/prfchwintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/ptwriteintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/rdseedintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/rtmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/sgxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/shaintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/smmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/tbmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/tmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/vaesintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/vpclmulqdqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/waitpkgintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/wbnoinvdintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/wmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/x86intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xopintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsavecintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsaveintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsaveoptintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsavesintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xtestintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/adxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/ammintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512bf16intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512bitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512bwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512cdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512dqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512erintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512fintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512ifmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512ifmavlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512pfintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vbmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vbmivlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlbf16intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlbitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlbwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlcdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vldqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlvbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlvnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlvp2intersectintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vp2intersectintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vpopcntdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vpopcntdqvlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/bmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/bmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/cetintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/cldemoteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/clflushoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/clwbintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/clzerointrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/cpuid.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/emmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/enqcmdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/f16cintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/fma4intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/fmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/fxsrintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/gfniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/ia32intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/immintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/invpcidintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/lwpintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/lzcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mm3dnow.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mm_malloc.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/movdirintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mwaitxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/nmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/pconfigintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/pkuintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/pmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/popcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/prfchwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/ptwriteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/rdseedintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/rtmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/sgxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/shaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/smmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/tbmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/tmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/vaesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/vpclmulqdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/waitpkgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/wbnoinvdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/__wmmintrin_aes.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/wmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/__wmmintrin_pclmul.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/x86intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xopintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsavecintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsaveintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsaveoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsavesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xtestintrin.h comp-c-include llvm
|
||||
./usr/include/dev/nvmm comp-c-include
|
||||
./usr/include/dev/nvmm/nvmm.h comp-c-include
|
||||
./usr/include/dev/nvmm/nvmm_ioctl.h comp-c-include
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: md.i386,v 1.192 2019/10/03 00:59:50 mrg Exp $
|
||||
# $NetBSD: md.i386,v 1.193 2019/11/11 22:44:56 joerg Exp $
|
||||
./usr/include/clang-3.4/__wmmintrin_aes.h comp-obsolete obsolete
|
||||
./usr/include/clang-3.4/__wmmintrin_pclmul.h comp-obsolete obsolete
|
||||
./usr/include/clang-3.4/ammintrin.h comp-obsolete obsolete
|
||||
@ -261,85 +261,169 @@
|
||||
./usr/include/clang-5.0/xsaveoptintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/xsavesintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/xtestintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/adxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/ammintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512bitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512bwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512cdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512dqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512erintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512fintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512ifmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512ifmavlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512pfintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vbmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vbmivlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlbitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlbwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlcdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vldqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlvbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vlvnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vpopcntdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avx512vpopcntdqvlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/avxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/bmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/bmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/cetintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/cldemoteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/clflushoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/clwbintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/clzerointrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/cpuid.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/emmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/f16cintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/fma4intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/fmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/fxsrintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/gfniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/ia32intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/immintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/invpcidintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/lwpintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/lzcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mm3dnow.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mm_malloc.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/movdirintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/mwaitxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/nmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/pconfigintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/pkuintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/pmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/popcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/prfchwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/ptwriteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/rdseedintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/rtmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/sgxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/shaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/smmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/tbmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/tmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/vaesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/vpclmulqdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/waitpkgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/wbnoinvdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/__wmmintrin_aes.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/wmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/__wmmintrin_pclmul.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/x86intrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xopintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsavecintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsaveintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsaveoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xsavesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/xtestintrin.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/adxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/ammintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512bitalgintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512bwintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512cdintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512dqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512erintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512fintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512ifmaintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512ifmavlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512pfintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vbmi2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vbmiintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vbmivlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlbitalgintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlbwintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlcdintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vldqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlvbmi2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vlvnniintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vnniintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vpopcntdqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avx512vpopcntdqvlintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/avxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/bmi2intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/bmiintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/cetintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/cldemoteintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/clflushoptintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/clwbintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/clzerointrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/cpuid.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/emmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/f16cintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/fma4intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/fmaintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/fxsrintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/gfniintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/ia32intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/immintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/invpcidintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/lwpintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/lzcntintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mm3dnow.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mm_malloc.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/movdirintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/mwaitxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/nmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/pconfigintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/pkuintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/pmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/popcntintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/prfchwintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/ptwriteintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/rdseedintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/rtmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/sgxintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/shaintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/smmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/tbmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/tmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/vaesintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/vpclmulqdqintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/waitpkgintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/wbnoinvdintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/__wmmintrin_aes.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/wmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/__wmmintrin_pclmul.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/x86intrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xmmintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xopintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsavecintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsaveintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsaveoptintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xsavesintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/xtestintrin.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/adxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/ammintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512bf16intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512bitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512bwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512cdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512dqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512erintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512fintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512ifmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512ifmavlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512pfintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vbmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vbmivlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlbf16intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlbitalgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlbwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlcdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vldqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlvbmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlvnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vlvp2intersectintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vnniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vp2intersectintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vpopcntdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avx512vpopcntdqvlintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/avxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/bmi2intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/bmiintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/cetintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/cldemoteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/clflushoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/clwbintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/clzerointrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/cpuid.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/emmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/enqcmdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/f16cintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/fma4intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/fmaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/fxsrintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/gfniintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/ia32intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/immintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/invpcidintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/lwpintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/lzcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mm3dnow.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mm_malloc.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/movdirintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/mwaitxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/nmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/pconfigintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/pkuintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/pmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/popcntintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/prfchwintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/ptwriteintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/rdseedintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/rtmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/sgxintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/shaintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/smmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/tbmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/tmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/vaesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/vpclmulqdqintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/waitpkgintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/wbnoinvdintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/__wmmintrin_aes.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/wmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/__wmmintrin_pclmul.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/x86intrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xmmintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xopintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsavecintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsaveintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsaveoptintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xsavesintrin.h comp-c-include llvm
|
||||
./usr/include/clang-9.0/xtestintrin.h comp-c-include llvm
|
||||
./usr/include/emmintrin.h comp-obsolete obsolete
|
||||
./usr/include/gcc-4.1/emmintrin.h comp-obsolete obsolete
|
||||
./usr/include/gcc-4.1/mm_malloc.h comp-obsolete obsolete
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.2291 2019/11/10 18:47:13 christos Exp $
|
||||
# $NetBSD: mi,v 1.2292 2019/11/11 22:44:56 joerg Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
./etc/mtree/set.comp comp-sys-root
|
||||
@ -47,11 +47,11 @@
|
||||
./usr/bin/gettext comp-c-bin
|
||||
./usr/bin/gettextize comp-obsolete obsolete
|
||||
./usr/bin/gprof comp-debug-bin binutils
|
||||
./usr/bin/ld.mcld comp-c-bin mclinker
|
||||
./usr/bin/ld.mcld comp-obsolete obsolete
|
||||
./usr/bin/lex comp-c-bin
|
||||
./usr/bin/lint comp-c-bin
|
||||
./usr/bin/lld comp-c-bin lld
|
||||
./usr/bin/lldb comp-c-bin lldb
|
||||
./usr/bin/lld comp-obsolete obsolete
|
||||
./usr/bin/lldb comp-obsolete obsolete
|
||||
./usr/bin/llvm-tblgen comp-c-bin llvm
|
||||
./usr/bin/lorder comp-util-bin
|
||||
./usr/bin/luac comp-util-bin
|
||||
@ -364,7 +364,8 @@
|
||||
./usr/include/clang-4.0/stdatomic.h comp-obsolete obsolete
|
||||
./usr/include/clang-4.0/stdnoreturn.h comp-obsolete obsolete
|
||||
./usr/include/clang-5.0/stdatomic.h comp-obsolete obsolete
|
||||
./usr/include/clang-7.0/stdatomic.h comp-c-include llvm
|
||||
./usr/include/clang-7.0/stdatomic.h comp-obsolete obsolete
|
||||
./usr/include/clang-9.0/stdatomic.h comp-c-include llvm
|
||||
./usr/include/complex.h comp-c-include
|
||||
./usr/include/cpio.h comp-c-include
|
||||
./usr/include/crypto/cryptodev.h comp-c-include
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: 3RDPARTY,v 1.1667 2019/11/06 23:44:39 sevan Exp $
|
||||
# $NetBSD: 3RDPARTY,v 1.1668 2019/11/11 22:44:57 joerg Exp $
|
||||
#
|
||||
# This file contains a list of the software that has been integrated into
|
||||
# NetBSD where we are not the primary maintainer.
|
||||
@ -729,14 +729,14 @@ Notes:
|
||||
.so'ing only. Copy the rest to man.
|
||||
|
||||
Package: llvm
|
||||
Version: 7.0.0svn (r337282)
|
||||
Version: 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
|
||||
Current Vers.: 9.0.0
|
||||
Maintainer: llvm-dev@lists.llvm.org
|
||||
Home Page: https://llvm.org
|
||||
Date: 2019-10-09
|
||||
Responsible: joerg
|
||||
License: BSD/MIT
|
||||
Location: external/bsd/llvm/dist
|
||||
License: Apache2 with runtime exceptions
|
||||
Location: external/apache2/llvm/dist
|
||||
Notes:
|
||||
A CVS ACL is in place for the location to prevent unintentioned commits.
|
||||
All changes should come via import from upstream SVN.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: NetBSD.dist.base,v 1.203 2019/10/03 01:34:31 mrg Exp $
|
||||
# $NetBSD: NetBSD.dist.base,v 1.204 2019/11/11 22:44:57 joerg Exp $
|
||||
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
|
||||
|
||||
# Do not customize this file as it may be overwritten on upgrades.
|
||||
@ -110,7 +110,7 @@
|
||||
./usr/include/c++
|
||||
./usr/include/c++/experimental
|
||||
./usr/include/c++/ext
|
||||
./usr/include/clang-7.0
|
||||
./usr/include/clang-9.0
|
||||
./usr/include/crypto
|
||||
./usr/include/dev
|
||||
./usr/include/dev/apm
|
||||
|
14
external/apache2/Makefile
vendored
14
external/apache2/Makefile
vendored
@ -1,13 +1,17 @@
|
||||
# $NetBSD: Makefile,v 1.2 2019/10/09 13:13:08 jhigh Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2019/11/11 22:44:57 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if (${MKMDNS} != "no")
|
||||
SUBDIR+= mDNSResponder
|
||||
.endif
|
||||
|
||||
.if (defined(MKARGON2) && ${MKARGON2} != "no")
|
||||
SUBDIR+= argon2
|
||||
.endif
|
||||
|
||||
.if (${MKLLVM} != "no" || ${MKLLVMRT} != "no")
|
||||
SUBDIR+= llvm
|
||||
.endif
|
||||
|
||||
.if (${MKMDNS} != "no")
|
||||
SUBDIR+= mDNSResponder
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
21
external/apache2/llvm/Makefile
vendored
Normal file
21
external/apache2/llvm/Makefile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:57 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
SUBDIR= include \
|
||||
|
||||
.if ${MKLLVMRT} != "no"
|
||||
SUBDIR+= \
|
||||
librt
|
||||
.endif
|
||||
|
||||
.if ${MKLLVM} != "no"
|
||||
SUBDIR+= \
|
||||
lib \
|
||||
.WAIT \
|
||||
bin
|
||||
.endif
|
||||
|
||||
.include "Makefile.inc"
|
||||
|
||||
.include <bsd.subdir.mk>
|
63
external/apache2/llvm/Makefile.inc
vendored
Normal file
63
external/apache2/llvm/Makefile.inc
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2019/11/11 22:44:57 joerg Exp $
|
||||
|
||||
.if !defined(LLVM_TOPLEVEL_MK)
|
||||
LLVM_TOPLEVEL_MK=
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
COMMON_REVISION= 01f3a59fb3e2542fce74c768718f594d0debd0da
|
||||
CLANG_REVISION= ${COMMON_REVISION}
|
||||
LLVM_REVISION= ${COMMON_REVISION}
|
||||
|
||||
LLVM_VERSION= 9.0.0
|
||||
CLANG_VERSION= 9.0.0
|
||||
|
||||
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
|
||||
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
|
||||
LLVM_TOPLEVEL:= ${.PARSEDIR}
|
||||
CONFIG_DIR:= ${.PARSEDIR}/autoconf
|
||||
|
||||
CPPFLAGS+= -I. -I${CLANG_SRCDIR}/include -I${LLVM_SRCDIR}/include
|
||||
|
||||
.if defined(HOSTLIB) || defined(HOSTPROG) || defined(_BSD_HOSTINIT_MK_)
|
||||
LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include
|
||||
CLANG_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/tools/clang/include
|
||||
LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR}
|
||||
LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR}
|
||||
HOST_CPPFLAGS+= ${CPPFLAGS}
|
||||
HOST_CXXFLAGS+= -O2 -fno-rtti -fno-exceptions
|
||||
HOST_CPPFLAGS+= -std=c++14
|
||||
LLVM_TARGETS= x86,powerpc,sparc,aarch64,arm,mips
|
||||
.else
|
||||
LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
|
||||
CLANG_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
|
||||
LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
|
||||
LLVM_TARGETS= x86,powerpc,sparc,aarch64,arm,mips,amdgpu
|
||||
|
||||
CXXFLAGS+= -std=c++14
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions
|
||||
CXXFLAGS+= -ffunction-sections -fdata-sections
|
||||
LDFLAGS+= -Wl,--gc-sections
|
||||
DPADD+= ${LIBEXECINFO}
|
||||
LDADD+= -lexecinfo
|
||||
.endif
|
||||
CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG} \
|
||||
-I${CLANG_INCLUDE_CONFIG}
|
||||
|
||||
LLVM_PLATFORM=${MACHINE_GNU_ARCH}--netbsd
|
||||
|
||||
LLVM_CONFIGURE_ARGS= \
|
||||
--enable-targets=${LLVM_TARGETS} \
|
||||
--with-c-include-dirs=/usr/include/clang-${CLANG_VERSION:R}:/usr/include \
|
||||
--disable-timestamps --prefix=/usr --sysconfdir=/etc/llvm \
|
||||
--with-clang-default-openmp-runtime=libomp \
|
||||
--with-llvm-srcdir=${LLVM_SRCDIR} \
|
||||
--with-clang-srcdir=${CLANG_SRCDIR} \
|
||||
--host=${LLVM_PLATFORM} --disable-compiler-version-checks \
|
||||
--disable-bindings llvm_cv_gnu_make_command=${MAKE}
|
||||
|
||||
.for tool in circo dot dotty fdp neato twopi xdot
|
||||
LLVM_CONFIGURE_ARGS+= ac_cv_path_${tool:tu}="echo ${tool}"
|
||||
.endfor
|
||||
|
||||
.endif
|
54
external/apache2/llvm/autoconf/autoconf/AutoRegen.sh
vendored
Executable file
54
external/apache2/llvm/autoconf/autoconf/AutoRegen.sh
vendored
Executable file
@ -0,0 +1,54 @@
|
||||
#!/bin/bash
|
||||
|
||||
die() {
|
||||
echo "$@" 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
clean() {
|
||||
echo $1 | sed -e 's/\\//g'
|
||||
}
|
||||
|
||||
### NOTE: ############################################################
|
||||
### These variables specify the tool versions we want to use.
|
||||
### Periods should be escaped with backslash for use by grep.
|
||||
###
|
||||
### If you update these, please also update docs/GettingStarted.rst
|
||||
want_autoconf_version='2\.69'
|
||||
want_autoheader_version=$want_autoconf_version
|
||||
want_aclocal_version='1\.16'
|
||||
### END NOTE #########################################################
|
||||
|
||||
outfile=configure
|
||||
configfile=configure.ac
|
||||
|
||||
want_autoconf_version_clean=$(clean $want_autoconf_version)
|
||||
want_autoheader_version_clean=$(clean $want_autoheader_version)
|
||||
want_aclocal_version_clean=$(clean $want_aclocal_version)
|
||||
|
||||
test -d autoconf && test -f autoconf/$configfile && cd autoconf
|
||||
test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first"
|
||||
autoconf --version | grep $want_autoconf_version > /dev/null
|
||||
test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean"
|
||||
aclocal --version | grep '^aclocal.*'$want_aclocal_version > /dev/null
|
||||
test $? -eq 0 || die "Your aclocal was not detected as being $want_aclocal_version_clean"
|
||||
autoheader --version | grep '^autoheader.*'$want_autoheader_version > /dev/null
|
||||
test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean"
|
||||
echo ""
|
||||
echo "### NOTE: ############################################################"
|
||||
echo "### If you get *any* warnings from autoconf below you MUST fix the"
|
||||
echo "### scripts in the m4 directory because there are future forward"
|
||||
echo "### compatibility or platform support issues at risk. Please do NOT"
|
||||
echo "### commit any configure script that was generated with warnings"
|
||||
echo "### present. You should get just three 'Regenerating..' lines."
|
||||
echo "######################################################################"
|
||||
echo ""
|
||||
echo "Regenerating aclocal.m4 with aclocal $want_aclocal_version_clean"
|
||||
cwd=`pwd`
|
||||
aclocal --force -I $cwd/m4 || die "aclocal failed"
|
||||
echo "Regenerating configure with autoconf $want_autoconf_version_clean"
|
||||
autoconf --force --warnings=all -o ../$outfile $configfile || die "autoconf failed"
|
||||
cd ..
|
||||
echo "Regenerating config.h.in with autoheader $want_autoheader_version_clean"
|
||||
autoheader --warnings=all -I autoconf -I autoconf/m4 autoconf/$configfile || die "autoheader failed"
|
||||
exit 0
|
7
external/apache2/llvm/autoconf/autoconf/ExportMap.map
vendored
Normal file
7
external/apache2/llvm/autoconf/autoconf/ExportMap.map
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
global: main;
|
||||
__progname;
|
||||
environ;
|
||||
|
||||
local: *;
|
||||
};
|
24
external/apache2/llvm/autoconf/autoconf/LICENSE.TXT
vendored
Normal file
24
external/apache2/llvm/autoconf/autoconf/LICENSE.TXT
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
------------------------------------------------------------------------------
|
||||
Autoconf Files
|
||||
------------------------------------------------------------------------------
|
||||
All autoconf files are licensed under the LLVM license with the following
|
||||
additions:
|
||||
|
||||
llvm/autoconf/install-sh:
|
||||
This script is licensed under the LLVM license, with the following
|
||||
additional copyrights and restrictions:
|
||||
|
||||
Copyright 1991 by the Massachusetts Institute of Technology
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of M.I.T. not be used in advertising or
|
||||
publicity pertaining to distribution of the software without specific,
|
||||
written prior permission. M.I.T. makes no representations about the
|
||||
suitability of this software for any purpose. It is provided "as is"
|
||||
without express or implied warranty.
|
||||
|
||||
Please see the source files for additional copyrights.
|
||||
|
14
external/apache2/llvm/autoconf/autoconf/README.TXT
vendored
Normal file
14
external/apache2/llvm/autoconf/autoconf/README.TXT
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
Upgrading autoconf
|
||||
===============================================================================
|
||||
|
||||
If you are in the mood to upgrade autoconf, you should:
|
||||
|
||||
1. Consider not upgrading.
|
||||
2. No really, this is a hassle, you don't want to do it.
|
||||
3. Get the new version of autoconf and put it in <SRC>
|
||||
4. configure/build/install autoconf with --prefix=<PFX>
|
||||
5. Run autoupdate on all the m4 macros in llvm/autoconf/m4
|
||||
6. Run autoupdate on llvm/autoconf/configure.ac
|
||||
7. Regenerate configure script with AutoRegen.sh
|
||||
8. If there are any warnings from AutoRegen.sh, fix them and go to step 7.
|
||||
9. Test, test, test.
|
265
external/apache2/llvm/autoconf/autoconf/aclocal.m4
vendored
Normal file
265
external/apache2/llvm/autoconf/autoconf/aclocal.m4
vendored
Normal file
@ -0,0 +1,265 @@
|
||||
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
|
||||
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
# Check for the extension used for executables on build platform.
|
||||
# This is necessary for cross-compiling where the build platform
|
||||
# may differ from the host platform.
|
||||
AC_DEFUN([AC_BUILD_EXEEXT],
|
||||
[
|
||||
AC_MSG_CHECKING([for executable suffix on build platform])
|
||||
AC_CACHE_VAL(ac_cv_build_exeext,
|
||||
[if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
|
||||
ac_cv_build_exeext=.exe
|
||||
else
|
||||
ac_build_prefix=${build_alias}-
|
||||
|
||||
AC_CHECK_PROG(BUILD_CC, ${ac_build_prefix}gcc, ${ac_build_prefix}gcc)
|
||||
if test -z "$BUILD_CC"; then
|
||||
AC_CHECK_PROG(BUILD_CC, gcc, gcc)
|
||||
if test -z "$BUILD_CC"; then
|
||||
AC_CHECK_PROG(BUILD_CC, cc, cc, , , /usr/ucb/cc)
|
||||
fi
|
||||
fi
|
||||
test -z "$BUILD_CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
|
||||
ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AS_MESSAGE_LOG_FD'
|
||||
rm -f conftest*
|
||||
echo 'int main () { return 0; }' > conftest.$ac_ext
|
||||
ac_cv_build_exeext=
|
||||
if AC_TRY_EVAL(ac_build_link); then
|
||||
for file in conftest.*; do
|
||||
case $file in
|
||||
*.c | *.o | *.obj | *.dSYM) ;;
|
||||
*) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
AC_MSG_ERROR([installation or configuration problem: compiler cannot create executables.])
|
||||
fi
|
||||
rm -f conftest*
|
||||
test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
|
||||
fi])
|
||||
BUILD_EXEEXT=""
|
||||
test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
|
||||
AC_MSG_RESULT(${ac_cv_build_exeext})
|
||||
ac_build_exeext=$BUILD_EXEEXT
|
||||
AC_SUBST(BUILD_EXEEXT)])
|
||||
|
||||
#
|
||||
# Check for GNU Make. This is originally from
|
||||
# http://www.gnu.org/software/ac-archive/htmldoc/check_gnu_make.html
|
||||
#
|
||||
AC_DEFUN([AC_CHECK_GNU_MAKE],
|
||||
[AC_CACHE_CHECK([for GNU make],[llvm_cv_gnu_make_command],
|
||||
dnl Search all the common names for GNU make
|
||||
[llvm_cv_gnu_make_command=''
|
||||
for a in "$MAKE" make gmake gnumake ; do
|
||||
if test -z "$a" ; then continue ; fi ;
|
||||
if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null )
|
||||
then
|
||||
llvm_cv_gnu_make_command=$a ;
|
||||
break;
|
||||
fi
|
||||
done])
|
||||
dnl If there was a GNU version, then set @ifGNUmake@ to the empty string,
|
||||
dnl '#' otherwise
|
||||
if test "x$llvm_cv_gnu_make_command" != "x" ; then
|
||||
ifGNUmake='' ;
|
||||
else
|
||||
ifGNUmake='#' ;
|
||||
AC_MSG_RESULT("Not found");
|
||||
fi
|
||||
AC_SUBST(ifGNUmake)
|
||||
])
|
||||
|
||||
AC_DEFUN([CXX_FLAG_CHECK],
|
||||
[AC_SUBST($1, `$CXX -Werror patsubst($2, [^-Wno-], [-W]) -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])
|
||||
|
||||
# Combine AC_DEFINE and AC_SUBST
|
||||
AC_DEFUN([LLVM_DEFINE_SUBST], [
|
||||
AC_DEFINE([$1], [$2], [$3])
|
||||
AC_SUBST([$1], ['$2'])
|
||||
])
|
||||
|
||||
#
|
||||
# This function determins if the HUGE_VAL macro is compilable with the
|
||||
# -pedantic switch or not. XCode < 2.4.1 doesn't get it right.
|
||||
#
|
||||
AC_DEFUN([AC_HUGE_VAL_CHECK],[
|
||||
AC_CACHE_CHECK([for HUGE_VAL sanity], [ac_cv_huge_val_sanity],[
|
||||
AC_LANG_PUSH([C++])
|
||||
ac_save_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS -pedantic"
|
||||
AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]],
|
||||
[[double x = HUGE_VAL; return x != x;]])],
|
||||
[ac_cv_huge_val_sanity=yes],[ac_cv_huge_val_sanity=no],
|
||||
[ac_cv_huge_val_sanity=yes])
|
||||
CXXFLAGS=$ac_save_CXXFLAGS
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
AC_SUBST(HUGE_VAL_SANITY,$ac_cv_huge_val_sanity)
|
||||
])
|
||||
|
||||
#
|
||||
# Get the linker version string.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_GET_VERSION],
|
||||
[AC_CACHE_CHECK([for linker version],[llvm_cv_link_version],
|
||||
[
|
||||
version_string="$(${LD:-ld} -v 2>&1 | head -1)"
|
||||
|
||||
# Check for ld64.
|
||||
if (echo "$version_string" | grep -q "ld64"); then
|
||||
llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)\( (.*)\)\{0,1\}#\1#")
|
||||
else
|
||||
llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
|
||||
fi
|
||||
])
|
||||
AC_DEFINE_UNQUOTED([HOST_LINK_VERSION],"$llvm_cv_link_version",
|
||||
[Linker version detected at compile time.])
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the system can handle the -R option being passed to the linker.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_USE_R],
|
||||
[AC_CACHE_CHECK([for compiler -Wl,-R<path> option],[llvm_cv_link_use_r],
|
||||
[ AC_LANG_PUSH([C])
|
||||
oldcflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -Wl,-R."
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
|
||||
[llvm_cv_link_use_r=yes],[llvm_cv_link_use_r=no])
|
||||
CFLAGS="$oldcflags"
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$llvm_cv_link_use_r" = yes ; then
|
||||
AC_DEFINE([HAVE_LINK_R],[1],[Define if you can use -Wl,-R. to pass -R. to the linker, in order to add the current directory to the dynamic linker search path.])
|
||||
fi
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the system can handle the -rdynamic option being passed
|
||||
# to the compiler.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_EXPORT_DYNAMIC],
|
||||
[AC_CACHE_CHECK([for compiler -rdynamic option],
|
||||
[llvm_cv_link_use_export_dynamic],
|
||||
[ AC_LANG_PUSH([C])
|
||||
oldcflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -rdynamic"
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
|
||||
[llvm_cv_link_use_export_dynamic=yes],[llvm_cv_link_use_export_dynamic=no])
|
||||
CFLAGS="$oldcflags"
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$llvm_cv_link_use_export_dynamic" = yes ; then
|
||||
AC_DEFINE([HAVE_LINK_EXPORT_DYNAMIC],[1],[Define if you can use -rdynamic.])
|
||||
fi
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the system can handle the --version-script option being
|
||||
# passed to the linker.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_VERSION_SCRIPT],
|
||||
[AC_CACHE_CHECK([for compiler -Wl,--version-script option],
|
||||
[llvm_cv_link_use_version_script],
|
||||
[ AC_LANG_PUSH([C])
|
||||
oldcflags="$CFLAGS"
|
||||
|
||||
# The following code is from the autoconf manual,
|
||||
# "11.13: Limitations of Usual Tools".
|
||||
# Create a temporary directory $tmp in $TMPDIR (default /tmp).
|
||||
# Use mktemp if possible; otherwise fall back on mkdir,
|
||||
# with $RANDOM to make collisions less likely.
|
||||
: ${TMPDIR=/tmp}
|
||||
{
|
||||
tmp=`
|
||||
(umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
|
||||
` &&
|
||||
test -n "$tmp" && test -d "$tmp"
|
||||
} || {
|
||||
tmp=$TMPDIR/foo$$-$RANDOM
|
||||
(umask 077 && mkdir "$tmp")
|
||||
} || exit $?
|
||||
|
||||
echo "{" > "$tmp/export.map"
|
||||
echo " global: main;" >> "$tmp/export.map"
|
||||
echo " local: *;" >> "$tmp/export.map"
|
||||
echo "};" >> "$tmp/export.map"
|
||||
|
||||
CFLAGS="$CFLAGS -Wl,--version-script=$tmp/export.map"
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
|
||||
[llvm_cv_link_use_version_script=yes],[llvm_cv_link_use_version_script=no])
|
||||
rm "$tmp/export.map"
|
||||
rmdir "$tmp"
|
||||
CFLAGS="$oldcflags"
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$llvm_cv_link_use_version_script" = yes ; then
|
||||
AC_SUBST(HAVE_LINK_VERSION_SCRIPT,1)
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
#
|
||||
# Some Linux machines run a 64-bit kernel with a 32-bit userspace. 'uname -m'
|
||||
# shows these as x86_64. Ask the system 'gcc' what it thinks.
|
||||
#
|
||||
AC_DEFUN([AC_IS_LINUX_MIXED],
|
||||
[AC_CACHE_CHECK(for 32-bit userspace on 64-bit system,llvm_cv_linux_mixed,
|
||||
[ AC_LANG_PUSH([C])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[[#ifndef __x86_64__
|
||||
error: Not x86-64 even if uname says so!
|
||||
#endif
|
||||
]])],
|
||||
[llvm_cv_linux_mixed=no],
|
||||
[llvm_cv_linux_mixed=yes])
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the compiler accepts -fvisibility-inlines-hidden
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_CXX_USE_VISIBILITY_INLINES_HIDDEN],
|
||||
[AC_CACHE_CHECK([for compiler -fvisibility-inlines-hidden option],
|
||||
[llvm_cv_cxx_visibility_inlines_hidden],
|
||||
[ AC_LANG_PUSH([C++])
|
||||
oldcxxflags="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -O0 -fvisibility-inlines-hidden -Werror"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[template <typename T> struct X { void __attribute__((noinline)) f() {} };],
|
||||
[X<int>().f();])],
|
||||
[llvm_cv_cxx_visibility_inlines_hidden=yes],[llvm_cv_cxx_visibility_inlines_hidden=no])
|
||||
CXXFLAGS="$oldcxxflags"
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
|
||||
AC_SUBST([ENABLE_VISIBILITY_INLINES_HIDDEN],[1])
|
||||
else
|
||||
AC_SUBST([ENABLE_VISIBILITY_INLINES_HIDDEN],[0])
|
||||
fi
|
||||
])
|
||||
|
1529
external/apache2/llvm/autoconf/autoconf/config.guess
vendored
Executable file
1529
external/apache2/llvm/autoconf/autoconf/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
1770
external/apache2/llvm/autoconf/autoconf/config.sub
vendored
Executable file
1770
external/apache2/llvm/autoconf/autoconf/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
2043
external/apache2/llvm/autoconf/autoconf/configure.ac
vendored
Normal file
2043
external/apache2/llvm/autoconf/autoconf/configure.ac
vendored
Normal file
File diff suppressed because it is too large
Load Diff
322
external/apache2/llvm/autoconf/autoconf/install-sh
vendored
Executable file
322
external/apache2/llvm/autoconf/autoconf/install-sh
vendored
Executable file
@ -0,0 +1,322 @@
|
||||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2004-09-10.20
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=
|
||||
chgrpcmd=
|
||||
stripcmd=
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dstarg=
|
||||
no_target_directory=
|
||||
|
||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
-c (ignored)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test -n "$1"; do
|
||||
case $1 in
|
||||
-c) shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
--help) echo "$usage"; exit 0;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd=$stripprog
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t) dstarg=$2
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-T) no_target_directory=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit 0;;
|
||||
|
||||
*) # When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
test -n "$dir_arg$dstarg" && break
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dstarg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dstarg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dstarg=$arg
|
||||
done
|
||||
break;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test -z "$1"; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src ;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
src=
|
||||
|
||||
if test -d "$dst"; then
|
||||
mkdircmd=:
|
||||
chmodcmd=
|
||||
else
|
||||
mkdircmd=$mkdirprog
|
||||
fi
|
||||
else
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dstarg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dstarg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst ;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dstarg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dst=$dst/`basename "$src"`
|
||||
fi
|
||||
fi
|
||||
|
||||
# This sed command emulates the dirname command.
|
||||
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if test ! -d "$dstdir"; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-$defaultIFS}"
|
||||
|
||||
oIFS=$IFS
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS=$oIFS
|
||||
|
||||
pathcomp=
|
||||
|
||||
while test $# -ne 0 ; do
|
||||
pathcomp=$pathcomp$1
|
||||
shift
|
||||
if test ! -d "$pathcomp"; then
|
||||
$mkdirprog "$pathcomp"
|
||||
# mkdir can fail with a `File exist' error in case several
|
||||
# install-sh are creating the directory concurrently. This
|
||||
# is OK.
|
||||
test -d "$pathcomp" || exit
|
||||
fi
|
||||
pathcomp=$pathcomp/
|
||||
done
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
$doit $mkdircmd "$dst" \
|
||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
||||
|
||||
else
|
||||
dstfile=`basename "$dst"`
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
$doit $cpprog "$src" "$dsttmp" &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
||||
|| {
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
if test -f "$dstdir/$dstfile"; then
|
||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
||||
|| {
|
||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||
(exit 1); exit
|
||||
}
|
||||
else
|
||||
:
|
||||
fi
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||
}
|
||||
}
|
||||
fi || { (exit 1); exit; }
|
||||
done
|
||||
|
||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||
{
|
||||
(exit 0); exit
|
||||
}
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
42
external/apache2/llvm/autoconf/autoconf/m4/build_exeext.m4
vendored
Normal file
42
external/apache2/llvm/autoconf/autoconf/m4/build_exeext.m4
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
# Check for the extension used for executables on build platform.
|
||||
# This is necessary for cross-compiling where the build platform
|
||||
# may differ from the host platform.
|
||||
AC_DEFUN([AC_BUILD_EXEEXT],
|
||||
[
|
||||
AC_MSG_CHECKING([for executable suffix on build platform])
|
||||
AC_CACHE_VAL(ac_cv_build_exeext,
|
||||
[if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
|
||||
ac_cv_build_exeext=.exe
|
||||
else
|
||||
ac_build_prefix=${build_alias}-
|
||||
|
||||
AC_CHECK_PROG(BUILD_CC, ${ac_build_prefix}gcc, ${ac_build_prefix}gcc)
|
||||
if test -z "$BUILD_CC"; then
|
||||
AC_CHECK_PROG(BUILD_CC, gcc, gcc)
|
||||
if test -z "$BUILD_CC"; then
|
||||
AC_CHECK_PROG(BUILD_CC, cc, cc, , , /usr/ucb/cc)
|
||||
fi
|
||||
fi
|
||||
test -z "$BUILD_CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
|
||||
ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AS_MESSAGE_LOG_FD'
|
||||
rm -f conftest*
|
||||
echo 'int main () { return 0; }' > conftest.$ac_ext
|
||||
ac_cv_build_exeext=
|
||||
if AC_TRY_EVAL(ac_build_link); then
|
||||
for file in conftest.*; do
|
||||
case $file in
|
||||
*.c | *.o | *.obj | *.dSYM) ;;
|
||||
*) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
AC_MSG_ERROR([installation or configuration problem: compiler cannot create executables.])
|
||||
fi
|
||||
rm -f conftest*
|
||||
test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
|
||||
fi])
|
||||
BUILD_EXEEXT=""
|
||||
test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
|
||||
AC_MSG_RESULT(${ac_cv_build_exeext})
|
||||
ac_build_exeext=$BUILD_EXEEXT
|
||||
AC_SUBST(BUILD_EXEEXT)])
|
31
external/apache2/llvm/autoconf/autoconf/m4/c_printf_a.m4
vendored
Normal file
31
external/apache2/llvm/autoconf/autoconf/m4/c_printf_a.m4
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# Determine if the printf() functions have the %a format character.
|
||||
# This is modified from:
|
||||
# http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_have_ext_slist.html
|
||||
AC_DEFUN([AC_C_PRINTF_A],
|
||||
[AC_CACHE_CHECK([if printf has the %a format character],[llvm_cv_c_printf_a],
|
||||
[AC_LANG_PUSH([C])
|
||||
AC_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
]],[[
|
||||
volatile double A, B;
|
||||
char Buffer[100];
|
||||
A = 1;
|
||||
A /= 10.0;
|
||||
sprintf(Buffer, "%a", A);
|
||||
B = atof(Buffer);
|
||||
if (A != B)
|
||||
return (1);
|
||||
if (A != 0x1.999999999999ap-4)
|
||||
return (1);
|
||||
return (0);]])],
|
||||
llvm_cv_c_printf_a=yes,
|
||||
llvmac_cv_c_printf_a=no,
|
||||
llvmac_cv_c_printf_a=no)
|
||||
AC_LANG_POP([C])])
|
||||
if test "$llvm_cv_c_printf_a" = "yes"; then
|
||||
AC_DEFINE([HAVE_PRINTF_A],[1],[Define to have the %a format string])
|
||||
fi
|
||||
])
|
26
external/apache2/llvm/autoconf/autoconf/m4/check_gnu_make.m4
vendored
Normal file
26
external/apache2/llvm/autoconf/autoconf/m4/check_gnu_make.m4
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# Check for GNU Make. This is originally from
|
||||
# http://www.gnu.org/software/ac-archive/htmldoc/check_gnu_make.html
|
||||
#
|
||||
AC_DEFUN([AC_CHECK_GNU_MAKE],
|
||||
[AC_CACHE_CHECK([for GNU make],[llvm_cv_gnu_make_command],
|
||||
dnl Search all the common names for GNU make
|
||||
[llvm_cv_gnu_make_command=''
|
||||
for a in "$MAKE" make gmake gnumake ; do
|
||||
if test -z "$a" ; then continue ; fi ;
|
||||
if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null )
|
||||
then
|
||||
llvm_cv_gnu_make_command=$a ;
|
||||
break;
|
||||
fi
|
||||
done])
|
||||
dnl If there was a GNU version, then set @ifGNUmake@ to the empty string,
|
||||
dnl '#' otherwise
|
||||
if test "x$llvm_cv_gnu_make_command" != "x" ; then
|
||||
ifGNUmake='' ;
|
||||
else
|
||||
ifGNUmake='#' ;
|
||||
AC_MSG_RESULT("Not found");
|
||||
fi
|
||||
AC_SUBST(ifGNUmake)
|
||||
])
|
9
external/apache2/llvm/autoconf/autoconf/m4/config_makefile.m4
vendored
Normal file
9
external/apache2/llvm/autoconf/autoconf/m4/config_makefile.m4
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Configure a Makefile without clobbering it if it exists and is not out of
|
||||
# date. This macro is unique to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_CONFIG_MAKEFILE],
|
||||
[AC_CONFIG_COMMANDS($1,
|
||||
[${llvm_src}/autoconf/mkinstalldirs `dirname $1`
|
||||
${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/$1 $1])
|
||||
])
|
14
external/apache2/llvm/autoconf/autoconf/m4/config_project.m4
vendored
Normal file
14
external/apache2/llvm/autoconf/autoconf/m4/config_project.m4
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# Provide the arguments and other processing needed for an LLVM project
|
||||
#
|
||||
AC_DEFUN([LLVM_CONFIG_PROJECT],
|
||||
[AC_ARG_WITH([llvmsrc],
|
||||
AS_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),
|
||||
[llvm_src="$withval"],[llvm_src="]$1["])
|
||||
AC_SUBST(LLVM_SRC,$llvm_src)
|
||||
AC_ARG_WITH([llvmobj],
|
||||
AS_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),
|
||||
[llvm_obj="$withval"],[llvm_obj="]$2["])
|
||||
AC_SUBST(LLVM_OBJ,$llvm_obj)
|
||||
AC_CONFIG_COMMANDS([setup],,[llvm_src="${LLVM_SRC}"])
|
||||
])
|
2
external/apache2/llvm/autoconf/autoconf/m4/cxx_flag_check.m4
vendored
Normal file
2
external/apache2/llvm/autoconf/autoconf/m4/cxx_flag_check.m4
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
AC_DEFUN([CXX_FLAG_CHECK],
|
||||
[AC_SUBST($1, `$CXX -Werror patsubst($2, [^-Wno-], [-W]) -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])
|
5
external/apache2/llvm/autoconf/autoconf/m4/define_subst.m4
vendored
Normal file
5
external/apache2/llvm/autoconf/autoconf/m4/define_subst.m4
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Combine AC_DEFINE and AC_SUBST
|
||||
AC_DEFUN([LLVM_DEFINE_SUBST], [
|
||||
AC_DEFINE([$1], [$2], [$3])
|
||||
AC_SUBST([$1], ['$2'])
|
||||
])
|
118
external/apache2/llvm/autoconf/autoconf/m4/find_std_program.m4
vendored
Normal file
118
external/apache2/llvm/autoconf/autoconf/m4/find_std_program.m4
vendored
Normal file
@ -0,0 +1,118 @@
|
||||
dnl Check for a standard program that has a bin, include and lib directory
|
||||
dnl
|
||||
dnl Parameters:
|
||||
dnl $1 - prefix directory to check
|
||||
dnl $2 - program name to check
|
||||
dnl $3 - header file to check
|
||||
dnl $4 - library file to check
|
||||
AC_DEFUN([CHECK_STD_PROGRAM],
|
||||
[m4_define([allcapsname],translit($2,a-z,A-Z))
|
||||
if test -n "$1" -a -d "$1" -a -n "$2" -a -d "$1/bin" -a -x "$1/bin/$2" ; then
|
||||
AC_SUBST([USE_]allcapsname(),["USE_]allcapsname()[ = 1"])
|
||||
AC_SUBST(allcapsname(),[$1/bin/$2])
|
||||
AC_SUBST(allcapsname()[_BIN],[$1/bin])
|
||||
AC_SUBST(allcapsname()[_DIR],[$1])
|
||||
if test -n "$3" -a -d "$1/include" -a -f "$1/include/$3" ; then
|
||||
AC_SUBST(allcapsname()[_INC],[$1/include])
|
||||
fi
|
||||
if test -n "$4" -a -d "$1/lib" -a -f "$1/lib/$4" ; then
|
||||
AC_SUBST(allcapsname()[_LIB],[$1/lib])
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
dnl Find a program via --with options, in the path, or well known places
|
||||
dnl
|
||||
dnl Parameters:
|
||||
dnl $1 - program's executable name
|
||||
dnl $2 - header file name to check (optional)
|
||||
dnl $3 - library file name to check (optional)
|
||||
dnl $4 - alternate (long) name for the program
|
||||
AC_DEFUN([FIND_STD_PROGRAM],
|
||||
[m4_define([allcapsname],translit($1,a-z,A-Z))
|
||||
m4_define([stdprog_long_name],ifelse($4,,translit($1,[ !@#$%^&*()-+={}[]:;"',./?],[-]),translit($4,[ !@#$%^&*()-+={}[]:;"',./?],[-])))
|
||||
AC_MSG_CHECKING([for ]stdprog_long_name()[ bin/lib/include locations])
|
||||
AC_ARG_WITH($1,
|
||||
AS_HELP_STRING([--with-]stdprog_long_name()[=DIR],
|
||||
[Specify that the ]stdprog_long_name()[ install prefix is DIR]),
|
||||
$1[pfxdir=$withval],$1[pfxdir=nada])
|
||||
AC_ARG_WITH($1[-bin],
|
||||
AS_HELP_STRING([--with-]stdprog_long_name()[-bin=DIR],
|
||||
[Specify that the ]stdprog_long_name()[ binary is in DIR]),
|
||||
$1[bindir=$withval],$1[bindir=nada])
|
||||
AC_ARG_WITH($1[-lib],
|
||||
AS_HELP_STRING([--with-]stdprog_long_name()[-lib=DIR],
|
||||
[Specify that ]stdprog_long_name()[ libraries are in DIR]),
|
||||
$1[libdir=$withval],$1[libdir=nada])
|
||||
AC_ARG_WITH($1[-inc],
|
||||
AS_HELP_STRING([--with-]stdprog_long_name()[-inc=DIR],
|
||||
[Specify that the ]stdprog_long_name()[ includes are in DIR]),
|
||||
$1[incdir=$withval],$1[incdir=nada])
|
||||
eval pfxval=\$\{$1pfxdir\}
|
||||
eval binval=\$\{$1bindir\}
|
||||
eval incval=\$\{$1incdir\}
|
||||
eval libval=\$\{$1libdir\}
|
||||
if test "${pfxval}" != "nada" ; then
|
||||
CHECK_STD_PROGRAM(${pfxval},$1,$2,$3)
|
||||
elif test "${binval}" != "nada" ; then
|
||||
if test "${libval}" != "nada" ; then
|
||||
if test "${incval}" != "nada" ; then
|
||||
if test -d "${binval}" ; then
|
||||
if test -d "${incval}" ; then
|
||||
if test -d "${libval}" ; then
|
||||
AC_SUBST(allcapsname(),${binval}/$1)
|
||||
AC_SUBST(allcapsname()[_BIN],${binval})
|
||||
AC_SUBST(allcapsname()[_INC],${incval})
|
||||
AC_SUBST(allcapsname()[_LIB],${libval})
|
||||
AC_SUBST([USE_]allcapsname(),["USE_]allcapsname()[ = 1"])
|
||||
AC_MSG_RESULT([found via --with options])
|
||||
else
|
||||
AC_MSG_RESULT([failed])
|
||||
AC_MSG_ERROR([The --with-]$1[-libdir value must be a directory])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([failed])
|
||||
AC_MSG_ERROR([The --with-]$1[-incdir value must be a directory])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([failed])
|
||||
AC_MSG_ERROR([The --with-]$1[-bindir value must be a directory])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([failed])
|
||||
AC_MSG_ERROR([The --with-]$1[-incdir option must be specified])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([failed])
|
||||
AC_MSG_ERROR([The --with-]$1[-libdir option must be specified])
|
||||
fi
|
||||
else
|
||||
tmppfxdir=`which $1 2>&1`
|
||||
if test -n "$tmppfxdir" -a -d "${tmppfxdir%*$1}" -a \
|
||||
-d "${tmppfxdir%*$1}/.." ; then
|
||||
tmppfxdir=`cd "${tmppfxdir%*$1}/.." ; pwd`
|
||||
CHECK_STD_PROGRAM($tmppfxdir,$1,$2,$3)
|
||||
AC_MSG_RESULT([found in PATH at ]$tmppfxdir)
|
||||
else
|
||||
checkresult="yes"
|
||||
eval checkval=\$\{"USE_"allcapsname()\}
|
||||
CHECK_STD_PROGRAM([/usr],$1,$2,$3)
|
||||
if test -z "${checkval}" ; then
|
||||
CHECK_STD_PROGRAM([/usr/local],$1,$2,$3)
|
||||
if test -z "${checkval}" ; then
|
||||
CHECK_STD_PROGRAM([/sw],$1,$2,$3)
|
||||
if test -z "${checkval}" ; then
|
||||
CHECK_STD_PROGRAM([/opt],$1,$2,$3)
|
||||
if test -z "${checkval}" ; then
|
||||
CHECK_STD_PROGRAM([/],$1,$2,$3)
|
||||
if test -z "${checkval}" ; then
|
||||
checkresult="no"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
AC_MSG_RESULT($checkresult)
|
||||
fi
|
||||
fi
|
||||
])
|
26
external/apache2/llvm/autoconf/autoconf/m4/func_mmap_file.m4
vendored
Normal file
26
external/apache2/llvm/autoconf/autoconf/m4/func_mmap_file.m4
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# Check for the ability to mmap a file.
|
||||
#
|
||||
AC_DEFUN([AC_FUNC_MMAP_FILE],
|
||||
[AC_CACHE_CHECK(for mmap of files,
|
||||
ac_cv_func_mmap_file,
|
||||
[ AC_LANG_PUSH([C])
|
||||
AC_RUN_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
]],[[
|
||||
int fd;
|
||||
fd = creat ("foo",0777);
|
||||
fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
|
||||
unlink ("foo");
|
||||
return (fd != (int) MAP_FAILED);]])],
|
||||
[ac_cv_func_mmap_file=yes],[ac_cv_func_mmap_file=no],[ac_cv_func_mmap_file=no])
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$ac_cv_func_mmap_file" = yes; then
|
||||
AC_DEFINE([HAVE_MMAP_FILE],[],[Define if mmap() can map files into memory])
|
||||
AC_SUBST(MMAP_FILE,[yes])
|
||||
fi
|
||||
])
|
21
external/apache2/llvm/autoconf/autoconf/m4/header_mmap_anonymous.m4
vendored
Normal file
21
external/apache2/llvm/autoconf/autoconf/m4/header_mmap_anonymous.m4
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
#
|
||||
# Check for anonymous mmap macros. This is modified from
|
||||
# http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_have_ext_slist.html
|
||||
#
|
||||
AC_DEFUN([AC_HEADER_MMAP_ANONYMOUS],
|
||||
[AC_CACHE_CHECK(for MAP_ANONYMOUS vs. MAP_ANON,
|
||||
ac_cv_header_mmap_anon,
|
||||
[ AC_LANG_PUSH([C])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[[#include <sys/mman.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>]],
|
||||
[[mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);]])],
|
||||
ac_cv_header_mmap_anon=yes,
|
||||
ac_cv_header_mmap_anon=no)
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$ac_cv_header_mmap_anon" = yes; then
|
||||
AC_DEFINE([HAVE_MMAP_ANONYMOUS],[1],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON])
|
||||
fi
|
||||
])
|
18
external/apache2/llvm/autoconf/autoconf/m4/huge_val.m4
vendored
Normal file
18
external/apache2/llvm/autoconf/autoconf/m4/huge_val.m4
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# This function determins if the HUGE_VAL macro is compilable with the
|
||||
# -pedantic switch or not. XCode < 2.4.1 doesn't get it right.
|
||||
#
|
||||
AC_DEFUN([AC_HUGE_VAL_CHECK],[
|
||||
AC_CACHE_CHECK([for HUGE_VAL sanity], [ac_cv_huge_val_sanity],[
|
||||
AC_LANG_PUSH([C++])
|
||||
ac_save_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS -pedantic"
|
||||
AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]],
|
||||
[[double x = HUGE_VAL; return x != x;]])],
|
||||
[ac_cv_huge_val_sanity=yes],[ac_cv_huge_val_sanity=no],
|
||||
[ac_cv_huge_val_sanity=yes])
|
||||
CXXFLAGS=$ac_save_CXXFLAGS
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
AC_SUBST(HUGE_VAL_SANITY,$ac_cv_huge_val_sanity)
|
||||
])
|
109
external/apache2/llvm/autoconf/autoconf/m4/link_options.m4
vendored
Normal file
109
external/apache2/llvm/autoconf/autoconf/m4/link_options.m4
vendored
Normal file
@ -0,0 +1,109 @@
|
||||
#
|
||||
# Get the linker version string.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_GET_VERSION],
|
||||
[AC_CACHE_CHECK([for linker version],[llvm_cv_link_version],
|
||||
[
|
||||
version_string="$(${LD:-ld} -v 2>&1 | head -1)"
|
||||
|
||||
# Check for ld64.
|
||||
if (echo "$version_string" | grep -q "ld64"); then
|
||||
llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)\( (.*)\)\{0,1\}#\1#")
|
||||
else
|
||||
llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
|
||||
fi
|
||||
])
|
||||
AC_DEFINE_UNQUOTED([HOST_LINK_VERSION],"$llvm_cv_link_version",
|
||||
[Linker version detected at compile time.])
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the system can handle the -R option being passed to the linker.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_USE_R],
|
||||
[AC_CACHE_CHECK([for compiler -Wl,-R<path> option],[llvm_cv_link_use_r],
|
||||
[ AC_LANG_PUSH([C])
|
||||
oldcflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -Wl,-R."
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
|
||||
[llvm_cv_link_use_r=yes],[llvm_cv_link_use_r=no])
|
||||
CFLAGS="$oldcflags"
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$llvm_cv_link_use_r" = yes ; then
|
||||
AC_DEFINE([HAVE_LINK_R],[1],[Define if you can use -Wl,-R. to pass -R. to the linker, in order to add the current directory to the dynamic linker search path.])
|
||||
fi
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the system can handle the -rdynamic option being passed
|
||||
# to the compiler.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_EXPORT_DYNAMIC],
|
||||
[AC_CACHE_CHECK([for compiler -rdynamic option],
|
||||
[llvm_cv_link_use_export_dynamic],
|
||||
[ AC_LANG_PUSH([C])
|
||||
oldcflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -rdynamic"
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
|
||||
[llvm_cv_link_use_export_dynamic=yes],[llvm_cv_link_use_export_dynamic=no])
|
||||
CFLAGS="$oldcflags"
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$llvm_cv_link_use_export_dynamic" = yes ; then
|
||||
AC_DEFINE([HAVE_LINK_EXPORT_DYNAMIC],[1],[Define if you can use -rdynamic.])
|
||||
fi
|
||||
])
|
||||
|
||||
#
|
||||
# Determine if the system can handle the --version-script option being
|
||||
# passed to the linker.
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_LINK_VERSION_SCRIPT],
|
||||
[AC_CACHE_CHECK([for compiler -Wl,--version-script option],
|
||||
[llvm_cv_link_use_version_script],
|
||||
[ AC_LANG_PUSH([C])
|
||||
oldcflags="$CFLAGS"
|
||||
|
||||
# The following code is from the autoconf manual,
|
||||
# "11.13: Limitations of Usual Tools".
|
||||
# Create a temporary directory $tmp in $TMPDIR (default /tmp).
|
||||
# Use mktemp if possible; otherwise fall back on mkdir,
|
||||
# with $RANDOM to make collisions less likely.
|
||||
: ${TMPDIR=/tmp}
|
||||
{
|
||||
tmp=`
|
||||
(umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
|
||||
` &&
|
||||
test -n "$tmp" && test -d "$tmp"
|
||||
} || {
|
||||
tmp=$TMPDIR/foo$$-$RANDOM
|
||||
(umask 077 && mkdir "$tmp")
|
||||
} || exit $?
|
||||
|
||||
echo "{" > "$tmp/export.map"
|
||||
echo " global: main;" >> "$tmp/export.map"
|
||||
echo " local: *;" >> "$tmp/export.map"
|
||||
echo "};" >> "$tmp/export.map"
|
||||
|
||||
CFLAGS="$CFLAGS -Wl,--version-script=$tmp/export.map"
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
|
||||
[llvm_cv_link_use_version_script=yes],[llvm_cv_link_use_version_script=no])
|
||||
rm "$tmp/export.map"
|
||||
rmdir "$tmp"
|
||||
CFLAGS="$oldcflags"
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
if test "$llvm_cv_link_use_version_script" = yes ; then
|
||||
AC_SUBST(HAVE_LINK_VERSION_SCRIPT,1)
|
||||
fi
|
||||
])
|
||||
|
17
external/apache2/llvm/autoconf/autoconf/m4/linux_mixed_64_32.m4
vendored
Normal file
17
external/apache2/llvm/autoconf/autoconf/m4/linux_mixed_64_32.m4
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# Some Linux machines run a 64-bit kernel with a 32-bit userspace. 'uname -m'
|
||||
# shows these as x86_64. Ask the system 'gcc' what it thinks.
|
||||
#
|
||||
AC_DEFUN([AC_IS_LINUX_MIXED],
|
||||
[AC_CACHE_CHECK(for 32-bit userspace on 64-bit system,llvm_cv_linux_mixed,
|
||||
[ AC_LANG_PUSH([C])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[[#ifndef __x86_64__
|
||||
error: Not x86-64 even if uname says so!
|
||||
#endif
|
||||
]])],
|
||||
[llvm_cv_linux_mixed=no],
|
||||
[llvm_cv_linux_mixed=yes])
|
||||
AC_LANG_POP([C])
|
||||
])
|
||||
])
|
17
external/apache2/llvm/autoconf/autoconf/m4/need_dev_zero_for_mmap.m4
vendored
Normal file
17
external/apache2/llvm/autoconf/autoconf/m4/need_dev_zero_for_mmap.m4
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# When allocating RWX memory, check whether we need to use /dev/zero
|
||||
# as the file descriptor or not.
|
||||
#
|
||||
AC_DEFUN([AC_NEED_DEV_ZERO_FOR_MMAP],
|
||||
[AC_CACHE_CHECK([if /dev/zero is needed for mmap],
|
||||
ac_cv_need_dev_zero_for_mmap,
|
||||
[if test "$llvm_cv_os_type" = "Interix" ; then
|
||||
ac_cv_need_dev_zero_for_mmap=yes
|
||||
else
|
||||
ac_cv_need_dev_zero_for_mmap=no
|
||||
fi
|
||||
])
|
||||
if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
|
||||
AC_DEFINE([NEED_DEV_ZERO_FOR_MMAP],[1],
|
||||
[Define if /dev/zero should be used when mapping RWX memory, or undefine if its not necessary])
|
||||
fi])
|
31
external/apache2/llvm/autoconf/autoconf/m4/sanity_check.m4
vendored
Normal file
31
external/apache2/llvm/autoconf/autoconf/m4/sanity_check.m4
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
dnl Check a program for version sanity. The test runs a program, passes it an
|
||||
dnl argument to make it print out some identification string, and filters that
|
||||
dnl output with a regular expression. If the output is non-empty, the program
|
||||
dnl passes the sanity check.
|
||||
dnl $1 - Name or full path of the program to run
|
||||
dnl $2 - Argument to pass to print out identification string
|
||||
dnl $3 - grep RE to match identification string
|
||||
dnl $4 - set to 1 to make errors only a warning
|
||||
AC_DEFUN([CHECK_PROGRAM_SANITY],
|
||||
[
|
||||
AC_MSG_CHECKING([sanity for program ]$1)
|
||||
sanity="0"
|
||||
sanity_path=`which $1 2>/dev/null`
|
||||
if test "$?" -eq 0 -a -x "$sanity_path" ; then
|
||||
sanity=`$1 $2 2>&1 | grep "$3"`
|
||||
if test -z "$sanity" ; then
|
||||
AC_MSG_RESULT([no])
|
||||
sanity="0"
|
||||
if test "$4" -eq 1 ; then
|
||||
AC_MSG_WARN([Program ]$1[ failed to pass sanity check.])
|
||||
else
|
||||
AC_MSG_ERROR([Program ]$1[ failed to pass sanity check.])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([yes])
|
||||
sanity="1"
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
fi
|
||||
])
|
16
external/apache2/llvm/autoconf/autoconf/m4/single_cxx_check.m4
vendored
Normal file
16
external/apache2/llvm/autoconf/autoconf/m4/single_cxx_check.m4
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
dnl
|
||||
dnl AC_SINGLE_CXX_CHECK(CACHEVAR, FUNCTION, HEADER, PROGRAM)
|
||||
dnl $1, $2, $3, $4,
|
||||
|
||||
AC_DEFUN([AC_SINGLE_CXX_CHECK],
|
||||
[
|
||||
AC_CACHE_CHECK([for $2 in $3], [$1],
|
||||
[
|
||||
AC_LANG_PUSH([C++])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]][$3], [$4])],
|
||||
[$1][[=yes]],
|
||||
[$1][[=no]])
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
])
|
||||
|
24
external/apache2/llvm/autoconf/autoconf/m4/visibility_inlines_hidden.m4
vendored
Normal file
24
external/apache2/llvm/autoconf/autoconf/m4/visibility_inlines_hidden.m4
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# Determine if the compiler accepts -fvisibility-inlines-hidden
|
||||
#
|
||||
# This macro is specific to LLVM.
|
||||
#
|
||||
AC_DEFUN([AC_CXX_USE_VISIBILITY_INLINES_HIDDEN],
|
||||
[AC_CACHE_CHECK([for compiler -fvisibility-inlines-hidden option],
|
||||
[llvm_cv_cxx_visibility_inlines_hidden],
|
||||
[ AC_LANG_PUSH([C++])
|
||||
oldcxxflags="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -O0 -fvisibility-inlines-hidden -Werror"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[template <typename T> struct X { void __attribute__((noinline)) f() {} };],
|
||||
[X<int>().f();])],
|
||||
[llvm_cv_cxx_visibility_inlines_hidden=yes],[llvm_cv_cxx_visibility_inlines_hidden=no])
|
||||
CXXFLAGS="$oldcxxflags"
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
|
||||
AC_SUBST([ENABLE_VISIBILITY_INLINES_HIDDEN],[1])
|
||||
else
|
||||
AC_SUBST([ENABLE_VISIBILITY_INLINES_HIDDEN],[0])
|
||||
fi
|
||||
])
|
353
external/apache2/llvm/autoconf/autoconf/missing
vendored
Executable file
353
external/apache2/llvm/autoconf/autoconf/missing
vendored
Executable file
@ -0,0 +1,353 @@
|
||||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2004-09-07.08
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
|
||||
# Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
msg="missing on your system"
|
||||
|
||||
case "$1" in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
# Exit code 63 means version mismatch. This often happens
|
||||
# when the user try to use an ancient version of a tool on
|
||||
# a file that requires a minimum version. In this case we
|
||||
# we should proceed has if the program had been absent, or
|
||||
# if --run hadn't been passed.
|
||||
if test $? = 63; then
|
||||
run=:
|
||||
msg="probably too old"
|
||||
fi
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit 0
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit 0
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program).
|
||||
case "$1" in
|
||||
lex|yacc)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
||||
tar)
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
# Could not run --version or --help. This is probably someone
|
||||
# running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
# $TOOL exists and not knowing $TOOL uses missing.
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, but is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' $msg. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||
fi
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
150
external/apache2/llvm/autoconf/autoconf/mkinstalldirs
vendored
Executable file
150
external/apache2/llvm/autoconf/autoconf/mkinstalldirs
vendored
Executable file
@ -0,0 +1,150 @@
|
||||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
|
||||
scriptversion=2004-02-15.20
|
||||
|
||||
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain.
|
||||
#
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
errstatus=0
|
||||
dirmode=""
|
||||
|
||||
usage="\
|
||||
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
|
||||
|
||||
Create each directory DIR (with mode MODE, if specified), including all
|
||||
leading file name components.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>."
|
||||
|
||||
# process command line arguments
|
||||
while test $# -gt 0 ; do
|
||||
case $1 in
|
||||
-h | --help | --h*) # -h for help
|
||||
echo "$usage"
|
||||
exit 0
|
||||
;;
|
||||
-m) # -m PERM arg
|
||||
shift
|
||||
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
||||
dirmode=$1
|
||||
shift
|
||||
;;
|
||||
--version)
|
||||
echo "$0 $scriptversion"
|
||||
exit 0
|
||||
;;
|
||||
--) # stop option processing
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*) # unknown option
|
||||
echo "$usage" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
*) # first non-opt arg
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for file
|
||||
do
|
||||
if test -d "$file"; then
|
||||
shift
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
case $# in
|
||||
0) exit 0 ;;
|
||||
esac
|
||||
|
||||
# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
|
||||
# mkdir -p a/c at the same time, both will detect that a is missing,
|
||||
# one will create a, then the other will try to create a and die with
|
||||
# a "File exists" error. This is a problem when calling mkinstalldirs
|
||||
# from a parallel make. We use --version in the probe to restrict
|
||||
# ourselves to GNU mkdir, which is thread-safe.
|
||||
case $dirmode in
|
||||
'')
|
||||
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
# echo "mkdir -p -- $*"
|
||||
exec mkdir -p -- "$@"
|
||||
else
|
||||
# On NextStep and OpenStep, the `mkdir' command does not
|
||||
# recognize any option. It will interpret all options as
|
||||
# directories to create, and then abort because `.' already
|
||||
# exists.
|
||||
test -d ./-p && rmdir ./-p
|
||||
test -d ./--version && rmdir ./--version
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
|
||||
test ! -d ./--version; then
|
||||
# echo "mkdir -m $dirmode -p -- $*"
|
||||
exec mkdir -m "$dirmode" -p -- "$@"
|
||||
else
|
||||
# Clean up after NextStep and OpenStep mkdir.
|
||||
for d in ./-m ./-p ./--version "./$dirmode";
|
||||
do
|
||||
test -d $d && rmdir $d
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case $pathcomp in
|
||||
-*) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
# echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
else
|
||||
if test ! -z "$dirmode"; then
|
||||
# echo "chmod $dirmode $pathcomp"
|
||||
lasterr=""
|
||||
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -z "$lasterr"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
11829
external/apache2/llvm/autoconf/configure
vendored
Executable file
11829
external/apache2/llvm/autoconf/configure
vendored
Executable file
File diff suppressed because it is too large
Load Diff
66
external/apache2/llvm/autoconf/include/clang/Config/config.h.in
vendored
Normal file
66
external/apache2/llvm/autoconf/include/clang/Config/config.h.in
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
/* This generated file is for internal use. Do not include it from headers. */
|
||||
|
||||
#ifdef CLANG_CONFIG_H
|
||||
#error config.h can only be included once
|
||||
#else
|
||||
#define CLANG_CONFIG_H
|
||||
|
||||
/* Bug report URL. */
|
||||
#undef BUG_REPORT_URL
|
||||
|
||||
/* Default C++ stdlib to use. */
|
||||
#undef CLANG_DEFAULT_CXX_STDLIB
|
||||
|
||||
/* Default objcopy to use */
|
||||
#undef CLANG_DEFAULT_OBJCOPY
|
||||
|
||||
/* Default runtime library to use. */
|
||||
#undef CLANG_DEFAULT_RTLIB
|
||||
|
||||
/* Default unwind library to use. */
|
||||
#undef CLANG_DEFAULT_UNWINDLIB
|
||||
|
||||
/* Default linker to use (linker name or absolute path, empty for platform
|
||||
default) */
|
||||
#undef CLANG_DEFAULT_LINKER
|
||||
|
||||
/* Default OpenMP runtime used by -fopenmp. */
|
||||
#undef CLANG_DEFAULT_OPENMP_RUNTIME
|
||||
|
||||
/* Multilib suffix for libdir. */
|
||||
#undef CLANG_LIBDIR_SUFFIX
|
||||
|
||||
/* Relative directory for resource files */
|
||||
#undef CLANG_RESOURCE_DIR
|
||||
|
||||
/* Directories clang will search for headers */
|
||||
#undef C_INCLUDE_DIRS
|
||||
|
||||
/* Default <path> to all compiler invocations for --sysroot=<path>. */
|
||||
#undef DEFAULT_SYSROOT
|
||||
|
||||
/* Directory where gcc is installed. */
|
||||
#undef GCC_INSTALL_PREFIX
|
||||
|
||||
/* Define if we have libxml2 */
|
||||
#undef CLANG_HAVE_LIBXML
|
||||
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* The LLVM product name and version */
|
||||
#define BACKEND_PACKAGE_STRING PACKAGE_STRING
|
||||
|
||||
/* Linker version detected at compile time. */
|
||||
#undef HOST_LINK_VERSION
|
||||
|
||||
/* enable x86 relax relocations by default */
|
||||
#undef ENABLE_X86_RELAX_RELOCATIONS
|
||||
|
||||
#undef CLANG_ENABLE_ARCMT
|
||||
#undef CLANG_ENABLE_OBJC_REWRITER
|
||||
#undef CLANG_ENABLE_STATIC_ANALYZER
|
||||
|
||||
#undef ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER
|
||||
#undef CLANG_OPENMP_NVPTX_DEFAULT_ARCH
|
||||
|
||||
#endif
|
29
external/apache2/llvm/autoconf/include/llvm/Config/AsmParsers.def.in
vendored
Normal file
29
external/apache2/llvm/autoconf/include/llvm/Config/AsmParsers.def.in
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the assembly-language parsers *|
|
||||
|* supported by this build of LLVM. Clients of this file should define *|
|
||||
|* the LLVM_ASM_PARSER macro to be a function-like macro with a *|
|
||||
|* single parameter (the name of the target whose assembly can be *|
|
||||
|* generated); including this file will then enumerate all of the *|
|
||||
|* targets with assembly parsers. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_ASM_PARSER
|
||||
# error Please define the macro LLVM_ASM_PARSER(TargetName)
|
||||
#endif
|
||||
|
||||
@LLVM_ENUM_ASM_PARSERS@
|
||||
|
||||
#undef LLVM_ASM_PARSER
|
29
external/apache2/llvm/autoconf/include/llvm/Config/AsmPrinters.def.in
vendored
Normal file
29
external/apache2/llvm/autoconf/include/llvm/Config/AsmPrinters.def.in
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the assembly-language printers *|
|
||||
|* supported by this build of LLVM. Clients of this file should define *|
|
||||
|* the LLVM_ASM_PRINTER macro to be a function-like macro with a *|
|
||||
|* single parameter (the name of the target whose assembly can be *|
|
||||
|* generated); including this file will then enumerate all of the *|
|
||||
|* targets with assembly printers. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_ASM_PRINTER
|
||||
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
|
||||
#endif
|
||||
|
||||
@LLVM_ENUM_ASM_PRINTERS@
|
||||
|
||||
#undef LLVM_ASM_PRINTER
|
29
external/apache2/llvm/autoconf/include/llvm/Config/Disassemblers.def.in
vendored
Normal file
29
external/apache2/llvm/autoconf/include/llvm/Config/Disassemblers.def.in
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the assembly-language parsers *|
|
||||
|* supported by this build of LLVM. Clients of this file should define *|
|
||||
|* the LLVM_DISASSEMBLER macro to be a function-like macro with a *|
|
||||
|* single parameter (the name of the target whose assembly can be *|
|
||||
|* generated); including this file will then enumerate all of the *|
|
||||
|* targets with assembly parsers. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_DISASSEMBLER
|
||||
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
|
||||
#endif
|
||||
|
||||
@LLVM_ENUM_DISASSEMBLERS@
|
||||
|
||||
#undef LLVM_DISASSEMBLER
|
28
external/apache2/llvm/autoconf/include/llvm/Config/Targets.def.in
vendored
Normal file
28
external/apache2/llvm/autoconf/include/llvm/Config/Targets.def.in
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the target architectures supported by *|
|
||||
|* this build of LLVM. Clients of this file should define the *|
|
||||
|* LLVM_TARGET macro to be a function-like macro with a single *|
|
||||
|* parameter (the name of the target); including this file will then *|
|
||||
|* enumerate all of the targets. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_TARGET
|
||||
# error Please define the macro LLVM_TARGET(TargetName)
|
||||
#endif
|
||||
|
||||
@LLVM_ENUM_TARGETS@
|
||||
|
||||
#undef LLVM_TARGET
|
41
external/apache2/llvm/autoconf/include/llvm/Config/abi-breaking.h.in
vendored
Normal file
41
external/apache2/llvm/autoconf/include/llvm/Config/abi-breaking.h.in
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
/*===------- llvm/Config/abi-breaking.h - llvm configuration -------*- C -*-===*/
|
||||
/* */
|
||||
/* The LLVM Compiler Infrastructure */
|
||||
/* */
|
||||
/* This file is distributed under the University of Illinois Open Source */
|
||||
/* License. See LICENSE.TXT for details. */
|
||||
/* */
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* This file controls the C++ ABI break introduced in LLVM public header. */
|
||||
|
||||
#ifndef LLVM_ABI_BREAKING_CHECKS_H
|
||||
#define LLVM_ABI_BREAKING_CHECKS_H
|
||||
|
||||
/* Define to enable checks that alter the LLVM C++ ABI */
|
||||
#undef LLVM_ENABLE_ABI_BREAKING_CHECKS
|
||||
|
||||
// ABI_BREAKING_CHECKS protection: provides link-time failure when clients build
|
||||
// mismatch with LLVM
|
||||
#if defined(_MSC_VER)
|
||||
// Use pragma with MSVC
|
||||
#define LLVM_XSTR(s) LLVM_STR(s)
|
||||
#define LLVM_STR(s) #s
|
||||
#pragma detect_mismatch("LLVM_ENABLE_ABI_BREAKING_CHECKS", LLVM_XSTR(LLVM_ENABLE_ABI_BREAKING_CHECKS))
|
||||
#undef LLVM_XSTR
|
||||
#undef LLVM_STR
|
||||
#elif defined(_WIN32) || defined(__CYGWIN__) // Win32 w/o #pragma detect_mismatch
|
||||
// FIXME: Implement checks without weak.
|
||||
#elif defined(__cplusplus)
|
||||
namespace llvm {
|
||||
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
|
||||
extern int EnableABIBreakingChecks;
|
||||
__attribute__((weak, visibility ("hidden"))) int *VerifyEnableABIBreakingChecks = &EnableABIBreakingChecks;
|
||||
#else
|
||||
extern int DisableABIBreakingChecks;
|
||||
__attribute__((weak, visibility ("hidden"))) int *VerifyDisableABIBreakingChecks = &DisableABIBreakingChecks;
|
||||
#endif
|
||||
}
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif
|
521
external/apache2/llvm/autoconf/include/llvm/Config/config.h.in
vendored
Normal file
521
external/apache2/llvm/autoconf/include/llvm/Config/config.h.in
vendored
Normal file
@ -0,0 +1,521 @@
|
||||
/* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
/* Exported configuration */
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
|
||||
/* Header containing the backtrace function */
|
||||
#undef BACKTRACE_HEADER
|
||||
|
||||
/* Bug report URL. */
|
||||
#undef BUG_REPORT_URL
|
||||
|
||||
/* Default C++ stdlib to use. */
|
||||
#undef CLANG_DEFAULT_CXX_STDLIB
|
||||
|
||||
/* Default linker to use (linker name or absolute path, empty for platform
|
||||
default) */
|
||||
#undef CLANG_DEFAULT_LINKER
|
||||
|
||||
/* Default objcopy to use. */
|
||||
#undef CLANG_DEFAULT_OBJCOPY
|
||||
|
||||
/* Default OpenMP runtime used by -fopenmp. */
|
||||
#undef CLANG_DEFAULT_OPENMP_RUNTIME
|
||||
|
||||
/* Default runtime library to use. */
|
||||
#undef CLANG_DEFAULT_RTLIB
|
||||
|
||||
/* Default unwind library to use. */
|
||||
#undef CLANG_DEFAULT_UNWINDLIB
|
||||
|
||||
/* Build ARCMT */
|
||||
#undef CLANG_ENABLE_ARCMT
|
||||
|
||||
/* Build ObjC rewriter */
|
||||
#undef CLANG_ENABLE_OBJC_REWRITER
|
||||
|
||||
/* Build Static analyzer */
|
||||
#undef CLANG_ENABLE_STATIC_ANALYZER
|
||||
|
||||
/* Multilib suffix for libdir. */
|
||||
#undef CLANG_LIBDIR_SUFFIX
|
||||
|
||||
/* Default architecture for OpenMP offloading to Nvidia GPUs. */
|
||||
#undef CLANG_OPENMP_NVPTX_DEFAULT_ARCH
|
||||
|
||||
/* Relative directory for resource files */
|
||||
#undef CLANG_RESOURCE_DIR
|
||||
|
||||
/* Directories clang will search for headers */
|
||||
#undef C_INCLUDE_DIRS
|
||||
|
||||
/* Default <path> to all compiler invocations for --sysroot=<path>. */
|
||||
#undef DEFAULT_SYSROOT
|
||||
|
||||
/* Define to 1 to enable backtraces, and to 0 otherwise. */
|
||||
#undef ENABLE_BACKTRACES
|
||||
|
||||
/* Define to 1 to enable crash overrides, and to 0 otherwise. */
|
||||
#undef ENABLE_CRASH_OVERRIDES
|
||||
|
||||
/* Enable the experimental new pass manager by default */
|
||||
#undef ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER
|
||||
|
||||
/* enable x86 relax relocations by default */
|
||||
#undef ENABLE_X86_RELAX_RELOCATIONS
|
||||
|
||||
/* Directory where gcc is installed. */
|
||||
#undef GCC_INSTALL_PREFIX
|
||||
|
||||
/* Define to 1 if you have the `backtrace' function. */
|
||||
#undef HAVE_BACKTRACE
|
||||
|
||||
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
|
||||
#undef HAVE_CRASHREPORTERCLIENT_H
|
||||
|
||||
/* can use __crashreporter_info__ */
|
||||
#undef HAVE_CRASHREPORTER_INFO
|
||||
|
||||
/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_ARC4RANDOM
|
||||
|
||||
/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_FE_ALL_EXCEPT
|
||||
|
||||
/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_FE_INEXACT
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRERROR_S
|
||||
|
||||
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
|
||||
#undef HAVE_DIA_SDK
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#undef HAVE_DIRENT_H
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define if dlopen() is available on this platform. */
|
||||
#undef HAVE_DLOPEN
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#undef HAVE_ERRNO_H
|
||||
|
||||
/* Define to 1 if you have the <execinfo.h> header file. */
|
||||
#undef HAVE_EXECINFO_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the <fenv.h> header file. */
|
||||
#undef HAVE_FENV_H
|
||||
|
||||
/* Define if libffi is available on this platform. */
|
||||
#undef HAVE_FFI_CALL
|
||||
|
||||
/* Define to 1 if you have the <ffi/ffi.h> header file. */
|
||||
#undef HAVE_FFI_FFI_H
|
||||
|
||||
/* Define to 1 if you have the <ffi.h> header file. */
|
||||
#undef HAVE_FFI_H
|
||||
|
||||
/* Define to 1 if you have the `futimens' function. */
|
||||
#undef HAVE_FUTIMENS
|
||||
|
||||
/* Define to 1 if you have the `futimes' function. */
|
||||
#undef HAVE_FUTIMES
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#undef HAVE_GETCWD
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define to 1 if you have the `getrlimit' function. */
|
||||
#undef HAVE_GETRLIMIT
|
||||
|
||||
/* Define to 1 if you have the `getrusage' function. */
|
||||
#undef HAVE_GETRUSAGE
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
|
||||
/* Define to 1 if the system has the type `int64_t'. */
|
||||
#undef HAVE_INT64_T
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `isatty' function. */
|
||||
#undef HAVE_ISATTY
|
||||
|
||||
/* Define to 1 if you have the `edit' library (-ledit). */
|
||||
#undef HAVE_LIBEDIT
|
||||
|
||||
/* Define to 1 if you have the `psapi' library (-lpsapi). */
|
||||
#undef HAVE_LIBPSAPI
|
||||
|
||||
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define to 1 if you have the `shell32' library (-lshell32). */
|
||||
#undef HAVE_LIBSHELL32
|
||||
|
||||
/* Define to 1 if you have the `z' library (-lz). */
|
||||
#undef HAVE_LIBZ
|
||||
|
||||
/* Define to 1 if you have the <link.h> header file. */
|
||||
#undef HAVE_LINK_H
|
||||
|
||||
/* Define to 1 if you have the <mach/mach.h> header file. */
|
||||
#undef HAVE_MACH_MACH_H
|
||||
|
||||
/* Define to 1 if you have the `mallctl' function. */
|
||||
#undef HAVE_MALLCTL
|
||||
|
||||
/* Define to 1 if you have the `mallinfo' function. */
|
||||
#undef HAVE_MALLINFO
|
||||
|
||||
/* Define to 1 if you have the <malloc/malloc.h> header file. */
|
||||
#undef HAVE_MALLOC_MALLOC_H
|
||||
|
||||
/* Define to 1 if you have the `malloc_zone_statistics' function. */
|
||||
#undef HAVE_MALLOC_ZONE_STATISTICS
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `mkdtemp' function. */
|
||||
#undef HAVE_MKDTEMP
|
||||
|
||||
/* Define to 1 if you have the `mkstemp' function. */
|
||||
#undef HAVE_MKSTEMP
|
||||
|
||||
/* Define to 1 if you have the `mktemp' function. */
|
||||
#undef HAVE_MKTEMP
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
#undef HAVE_NDIR_H
|
||||
|
||||
/* Define to 1 if you have the `posix_fallocate' function. */
|
||||
#undef HAVE_POSIX_FALLOCATE
|
||||
|
||||
/* Define to 1 if you have the `posix_spawn' function. */
|
||||
#undef HAVE_POSIX_SPAWN
|
||||
|
||||
/* Define to 1 if you have the `pread' function. */
|
||||
#undef HAVE_PREAD
|
||||
|
||||
/* Have pthread_getspecific */
|
||||
#undef HAVE_PTHREAD_GETSPECIFIC
|
||||
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
/* Have pthread_mutex_lock */
|
||||
#undef HAVE_PTHREAD_MUTEX_LOCK
|
||||
|
||||
/* Have pthread_rwlock_init */
|
||||
#undef HAVE_PTHREAD_RWLOCK_INIT
|
||||
|
||||
/* Define to 1 if you have the `realpath' function. */
|
||||
#undef HAVE_REALPATH
|
||||
|
||||
/* Define to 1 if you have the `sbrk' function. */
|
||||
#undef HAVE_SBRK
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Define to 1 if you have the `setrlimit' function. */
|
||||
#undef HAVE_SETRLIMIT
|
||||
|
||||
/* Define to 1 if you have the `sigaltstack' function. */
|
||||
#undef HAVE_SIGALTSTACK
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#undef HAVE_SIGNAL_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Has usable std::is_trivially_copyable */
|
||||
#undef HAVE_STD_IS_TRIVIALLY_COPYABLE
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#undef HAVE_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strtoll' function. */
|
||||
#undef HAVE_STRTOLL
|
||||
|
||||
/* Define to 1 if `st_mtimensec.tv_nsec' is a member of `struct stat'. */
|
||||
#undef HAVE_STRUCT_STAT_ST_MTIMENSEC_TV_NSEC
|
||||
|
||||
/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
|
||||
#undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
|
||||
|
||||
/* Define to 1 if you have the `sysconf' function. */
|
||||
#undef HAVE_SYSCONF
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#undef HAVE_SYS_DIR_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#undef HAVE_SYS_IOCTL_H
|
||||
|
||||
/* Define to 1 if you have the <sys/mman.h> header file. */
|
||||
#undef HAVE_SYS_MMAN_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#undef HAVE_SYS_NDIR_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#undef HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#undef HAVE_SYS_TIME_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/uio.h> header file. */
|
||||
#undef HAVE_SYS_UIO_H
|
||||
|
||||
/* Define if the setupterm() function is supported this platform. */
|
||||
#undef HAVE_TERMINFO
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#undef HAVE_TERMIOS_H
|
||||
|
||||
/* Define to 1 if the system has the type `uint64_t'. */
|
||||
#undef HAVE_UINT64_T
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if the system has the type `u_int64_t'. */
|
||||
#undef HAVE_U_INT64_T
|
||||
|
||||
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
|
||||
#undef HAVE_VALGRIND_VALGRIND_H
|
||||
|
||||
/* Define to 1 if you have the `writev' function. */
|
||||
#undef HAVE_WRITEV
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
#undef HAVE_ZLIB_H
|
||||
|
||||
/* Have host's _alloca */
|
||||
#undef HAVE__ALLOCA
|
||||
|
||||
/* Define to 1 if you have the `_chsize_s' function. */
|
||||
#undef HAVE__CHSIZE_S
|
||||
|
||||
/* Define to 1 if you have the `_Unwind_Backtrace' function. */
|
||||
#undef HAVE__UNWIND_BACKTRACE
|
||||
|
||||
/* Have host's __alloca */
|
||||
#undef HAVE___ALLOCA
|
||||
|
||||
/* Have host's __ashldi3 */
|
||||
#undef HAVE___ASHLDI3
|
||||
|
||||
/* Have host's __ashrdi3 */
|
||||
#undef HAVE___ASHRDI3
|
||||
|
||||
/* Have host's __chkstk */
|
||||
#undef HAVE___CHKSTK
|
||||
|
||||
/* Have host's __chkstk_ms */
|
||||
#undef HAVE___CHKSTK_MS
|
||||
|
||||
/* Have host's __cmpdi2 */
|
||||
#undef HAVE___CMPDI2
|
||||
|
||||
/* Have host's __divdi3 */
|
||||
#undef HAVE___DIVDI3
|
||||
|
||||
/* Have host's __fixdfdi */
|
||||
#undef HAVE___FIXDFDI
|
||||
|
||||
/* Have host's __fixsfdi */
|
||||
#undef HAVE___FIXSFDI
|
||||
|
||||
/* Have host's __floatdidf */
|
||||
#undef HAVE___FLOATDIDF
|
||||
|
||||
/* Have host's __lshrdi3 */
|
||||
#undef HAVE___LSHRDI3
|
||||
|
||||
/* Have host's __main */
|
||||
#undef HAVE___MAIN
|
||||
|
||||
/* Have host's __moddi3 */
|
||||
#undef HAVE___MODDI3
|
||||
|
||||
/* Have host's __udivdi3 */
|
||||
#undef HAVE___UDIVDI3
|
||||
|
||||
/* Have host's __umoddi3 */
|
||||
#undef HAVE___UMODDI3
|
||||
|
||||
/* Have host's ___chkstk */
|
||||
#undef HAVE____CHKSTK
|
||||
|
||||
/* Have host's ___chkstk_ms */
|
||||
#undef HAVE____CHKSTK_MS
|
||||
|
||||
/* Linker version detected at compile time. */
|
||||
#undef HOST_LINK_VERSION
|
||||
|
||||
/* Define if we link Polly to the tools */
|
||||
#undef LINK_POLLY_INTO_TOOLS
|
||||
|
||||
/* Target triple LLVM will generate code for by default */
|
||||
#undef LLVM_DEFAULT_TARGET_TRIPLE
|
||||
|
||||
/* Define to 1 to checks for ABI changes, and to 0 otherwise. */
|
||||
#undef LLVM_ENABLE_ABI_BREAKING_CHECKS
|
||||
|
||||
/* Enable crash memory dumps (Windows-only) */
|
||||
#undef LLVM_ENABLE_CRASH_DUMPS
|
||||
|
||||
/* Define if threads enabled */
|
||||
#undef LLVM_ENABLE_THREADS
|
||||
|
||||
/* Define if zlib compression is available */
|
||||
#undef LLVM_ENABLE_ZLIB
|
||||
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#undef LLVM_HAS_ATOMICS
|
||||
|
||||
/* Host triple LLVM will be executed on */
|
||||
#undef LLVM_HOST_TRIPLE
|
||||
|
||||
/* LLVM architecture name for the native architecture, if available */
|
||||
#undef LLVM_NATIVE_ARCH
|
||||
|
||||
/* LLVM name for the native AsmParser init function, if available */
|
||||
#undef LLVM_NATIVE_ASMPARSER
|
||||
|
||||
/* LLVM name for the native AsmPrinter init function, if available */
|
||||
#undef LLVM_NATIVE_ASMPRINTER
|
||||
|
||||
/* LLVM name for the native Disassembler init function, if available */
|
||||
#undef LLVM_NATIVE_DISASSEMBLER
|
||||
|
||||
/* LLVM name for the native Target init function, if available */
|
||||
#undef LLVM_NATIVE_TARGET
|
||||
|
||||
/* LLVM name for the native TargetInfo init function, if available */
|
||||
#undef LLVM_NATIVE_TARGETINFO
|
||||
|
||||
/* LLVM name for the native target MC init function, if available */
|
||||
#undef LLVM_NATIVE_TARGETMC
|
||||
|
||||
/* Define if this is Unixish platform */
|
||||
#undef LLVM_ON_UNIX
|
||||
|
||||
/* Define if this is Win32ish platform */
|
||||
#undef LLVM_ON_WIN32
|
||||
|
||||
/* Installation prefix directory */
|
||||
#undef LLVM_PREFIX
|
||||
|
||||
/* Enable support for Xcode signposts (disabled) */
|
||||
#undef LLVM_SUPPORT_XCODE_SIGNPOSTS
|
||||
|
||||
/* Define if we have the Intel JIT API runtime support library */
|
||||
#undef LLVM_USE_INTEL_JITEVENTS
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#undef LLVM_USE_OPROFILE
|
||||
|
||||
/* LLVM version information */
|
||||
#undef LLVM_VERSION_INFO
|
||||
|
||||
/* Major version of the LLVM API */
|
||||
#undef LLVM_VERSION_MAJOR
|
||||
|
||||
/* Minor version of the LLVM API */
|
||||
#undef LLVM_VERSION_MINOR
|
||||
|
||||
/* Patch version of the LLVM API */
|
||||
#undef LLVM_VERSION_PATCH
|
||||
|
||||
/* LLVM version string */
|
||||
#undef LLVM_VERSION_STRING
|
||||
|
||||
/* Define to the extension used for shared libraries, say, ".so". */
|
||||
#undef LTDL_SHLIB_EXT
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#undef RETSIGTYPE
|
||||
|
||||
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||
#undef STAT_MACROS_BROKEN
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
#undef TM_IN_SYS_TIME
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef pid_t
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
#endif
|
83
external/apache2/llvm/autoconf/include/llvm/Config/llvm-config.h.in
vendored
Normal file
83
external/apache2/llvm/autoconf/include/llvm/Config/llvm-config.h.in
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
|
||||
/* */
|
||||
/* The LLVM Compiler Infrastructure */
|
||||
/* */
|
||||
/* This file is distributed under the University of Illinois Open Source */
|
||||
/* License. See LICENSE.TXT for details. */
|
||||
/* */
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* This file enumerates variables from the LLVM configuration so that they
|
||||
can be in exported headers and won't override package specific directives.
|
||||
This is a C header that can be included in the llvm-c headers. */
|
||||
|
||||
#ifndef LLVM_CONFIG_H
|
||||
#define LLVM_CONFIG_H
|
||||
|
||||
/* Define if we link Polly to the tools */
|
||||
#undef LINK_POLLY_INTO_TOOLS
|
||||
|
||||
/* Target triple LLVM will generate code for by default */
|
||||
#undef LLVM_DEFAULT_TARGET_TRIPLE
|
||||
|
||||
/* Define to enable checks that alter the LLVM C++ ABI */
|
||||
#undef LLVM_ENABLE_ABI_BREAKING_CHECKS
|
||||
|
||||
/* Define if threads enabled */
|
||||
#undef LLVM_ENABLE_THREADS
|
||||
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#undef LLVM_HAS_ATOMICS
|
||||
|
||||
/* Host triple LLVM will be executed on */
|
||||
#undef LLVM_HOST_TRIPLE
|
||||
|
||||
/* LLVM architecture name for the native architecture, if available */
|
||||
#undef LLVM_NATIVE_ARCH
|
||||
|
||||
/* LLVM name for the native AsmParser init function, if available */
|
||||
#undef LLVM_NATIVE_ASMPARSER
|
||||
|
||||
/* LLVM name for the native AsmPrinter init function, if available */
|
||||
#undef LLVM_NATIVE_ASMPRINTER
|
||||
|
||||
/* LLVM name for the native Disassembler init function, if available */
|
||||
#undef LLVM_NATIVE_DISASSEMBLER
|
||||
|
||||
/* LLVM name for the native Target init function, if available */
|
||||
#undef LLVM_NATIVE_TARGET
|
||||
|
||||
/* LLVM name for the native TargetInfo init function, if available */
|
||||
#undef LLVM_NATIVE_TARGETINFO
|
||||
|
||||
/* LLVM name for the native target MC init function, if available */
|
||||
#undef LLVM_NATIVE_TARGETMC
|
||||
|
||||
/* Define if this is Unixish platform */
|
||||
#undef LLVM_ON_UNIX
|
||||
|
||||
/* Define if this is Win32ish platform */
|
||||
#undef LLVM_ON_WIN32
|
||||
|
||||
/* Installation prefix directory */
|
||||
#undef LLVM_PREFIX
|
||||
|
||||
/* Define if we have the Intel JIT API runtime support library */
|
||||
#undef LLVM_USE_INTEL_JITEVENTS
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#undef LLVM_USE_OPROFILE
|
||||
|
||||
/* Major version of the LLVM API */
|
||||
#undef LLVM_VERSION_MAJOR
|
||||
|
||||
/* Minor version of the LLVM API */
|
||||
#undef LLVM_VERSION_MINOR
|
||||
|
||||
/* Patch version of the LLVM API */
|
||||
#undef LLVM_VERSION_PATCH
|
||||
|
||||
/* LLVM version string */
|
||||
#undef LLVM_VERSION_STRING
|
||||
|
||||
#endif
|
130
external/apache2/llvm/autoconf/include/llvm/Support/DataTypes.h.in
vendored
Normal file
130
external/apache2/llvm/autoconf/include/llvm/Support/DataTypes.h.in
vendored
Normal file
@ -0,0 +1,130 @@
|
||||
/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file contains definitions to figure out the size of _HOST_ data types.*|
|
||||
|* This file is important because different host OS's define different macros,*|
|
||||
|* which makes portability tough. This file exports the following *|
|
||||
|* definitions: *|
|
||||
|* *|
|
||||
|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*|
|
||||
|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *|
|
||||
|* *|
|
||||
|* No library is required when using these functions. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* Please leave this file C-compatible. */
|
||||
|
||||
/* Please keep this file in sync with DataTypes.h.cmake */
|
||||
|
||||
#ifndef SUPPORT_DATATYPES_H
|
||||
#define SUPPORT_DATATYPES_H
|
||||
|
||||
#undef HAVE_INTTYPES_H
|
||||
#undef HAVE_STDINT_H
|
||||
#undef HAVE_UINT64_T
|
||||
#undef HAVE_U_INT64_T
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cmath>
|
||||
#else
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#error "Compiler must provide an implementation of stdint.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
|
||||
being defined. We would define it here, but in order to prevent Bad Things
|
||||
happening when system headers or C++ STL headers include stdint.h before we
|
||||
define it here, we define it on the g++ command line (in Makefile.rules). */
|
||||
#if !defined(__STDC_LIMIT_MACROS)
|
||||
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__STDC_CONSTANT_MACROS)
|
||||
# error "Must #define __STDC_CONSTANT_MACROS before " \
|
||||
"#including Support/DataTypes.h"
|
||||
#endif
|
||||
|
||||
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef _AIX
|
||||
#include "llvm/Support/AIXDataTypesFix.h"
|
||||
#endif
|
||||
|
||||
/* Handle incorrect definition of uint64_t as u_int64_t */
|
||||
#ifndef HAVE_UINT64_T
|
||||
#ifdef HAVE_U_INT64_T
|
||||
typedef u_int64_t uint64_t;
|
||||
#else
|
||||
# error "Don't have a definition for uint64_t on this platform"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else /* _MSC_VER */
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef __cplusplus
|
||||
#include <cmath>
|
||||
#else
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
#if defined(_WIN64)
|
||||
typedef signed __int64 ssize_t;
|
||||
#else
|
||||
typedef signed int ssize_t;
|
||||
#endif /* _WIN64 */
|
||||
|
||||
#ifndef HAVE_INTTYPES_H
|
||||
#define PRId64 "I64d"
|
||||
#define PRIi64 "I64i"
|
||||
#define PRIo64 "I64o"
|
||||
#define PRIu64 "I64u"
|
||||
#define PRIx64 "I64x"
|
||||
#define PRIX64 "I64X"
|
||||
|
||||
#define PRId32 "d"
|
||||
#define PRIi32 "i"
|
||||
#define PRIo32 "o"
|
||||
#define PRIu32 "u"
|
||||
#define PRIx32 "x"
|
||||
#define PRIX32 "X"
|
||||
#endif /* HAVE_INTTYPES_H */
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
/* Set defaults for constants which we cannot find. */
|
||||
#if !defined(INT64_MAX)
|
||||
# define INT64_MAX 9223372036854775807LL
|
||||
#endif
|
||||
#if !defined(INT64_MIN)
|
||||
# define INT64_MIN ((-INT64_MAX)-1)
|
||||
#endif
|
||||
#if !defined(UINT64_MAX)
|
||||
# define UINT64_MAX 0xffffffffffffffffULL
|
||||
#endif
|
||||
|
||||
#ifndef HUGE_VALF
|
||||
#define HUGE_VALF (float)HUGE_VAL
|
||||
#endif
|
||||
|
||||
#endif /* SUPPORT_DATATYPES_H */
|
4
external/apache2/llvm/autoconf/run-autoconf
vendored
Executable file
4
external/apache2/llvm/autoconf/run-autoconf
vendored
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
autoconf/AutoRegen.sh
|
||||
rm -rf autom4te.cache autoconf/autom4te.cache
|
42
external/apache2/llvm/bin/Makefile
vendored
Normal file
42
external/apache2/llvm/bin/Makefile
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= clang \
|
||||
clang-tblgen \
|
||||
tblgen
|
||||
|
||||
.if defined(LLVM_DEVELOPER)
|
||||
SUBDIR+= \
|
||||
bugpoint \
|
||||
clang-format \
|
||||
clang-rename \
|
||||
llc \
|
||||
lli \
|
||||
llvm-ar \
|
||||
llvm-as \
|
||||
llvm-bcanalyzer \
|
||||
llvm-cov \
|
||||
llvm-cxxdump \
|
||||
llvm-cxxfilt \
|
||||
llvm-diff \
|
||||
llvm-dis \
|
||||
llvm-dwarfdump \
|
||||
llvm-dwp \
|
||||
llvm-extract \
|
||||
llvm-link \
|
||||
llvm-mc \
|
||||
llvm-nm \
|
||||
llvm-objdump \
|
||||
llvm-profdata \
|
||||
llvm-readobj \
|
||||
llvm-size \
|
||||
llvm-strings \
|
||||
llvm-symbolizer \
|
||||
llvm-xray \
|
||||
opt \
|
||||
sancov \
|
||||
sanstats
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
5
external/apache2/llvm/bin/Makefile.inc
vendored
Normal file
5
external/apache2/llvm/bin/Makefile.inc
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
.include "${.PARSEDIR}/../Makefile.inc"
|
96
external/apache2/llvm/bin/bugpoint/Makefile
vendored
Normal file
96
external/apache2/llvm/bin/bugpoint/Makefile
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
PROG_CXX= bugpoint
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/bugpoint
|
||||
|
||||
SRCS= BugDriver.cpp \
|
||||
CrashDebugger.cpp \
|
||||
ExecutionDriver.cpp \
|
||||
ExtractFunction.cpp \
|
||||
FindBugs.cpp \
|
||||
Miscompilation.cpp \
|
||||
OptimizerDriver.cpp \
|
||||
ToolRunner.cpp \
|
||||
bugpoint.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
TransformsAggressiveInstCombine \
|
||||
ObjCARC \
|
||||
ipo \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
BitWriter \
|
||||
AArch64CodeGen \
|
||||
AArch64TargetInfo \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Utils \
|
||||
AMDGPUCodeGen \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
MIRParser \
|
||||
ARMCodeGen \
|
||||
ARMTargetInfo \
|
||||
ARMMCTargetDesc \
|
||||
ARMAsmParser \
|
||||
ARMUtils \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCCodeGen \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCAsmParser \
|
||||
SparcCodeGen \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
SparcAsmParser \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86Utils \
|
||||
X86AsmParser \
|
||||
GlobalISel \
|
||||
SelectionDAG \
|
||||
AsmPrinter \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoMSF \
|
||||
Passes \
|
||||
CodeGen \
|
||||
Vectorize \
|
||||
Target \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
ScalarOpts \
|
||||
ProfileData \
|
||||
MCDisassembler \
|
||||
MCParser \
|
||||
MC \
|
||||
Analysis \
|
||||
Object \
|
||||
Linker \
|
||||
TransformsUtils \
|
||||
IR \
|
||||
Option \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
39
external/apache2/llvm/bin/clang-format/Makefile
vendored
Normal file
39
external/apache2/llvm/bin/clang-format/Makefile
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
PROG_CXX= clang-format
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/tools/clang-format
|
||||
|
||||
SRCS= ClangFormat.cpp
|
||||
|
||||
CLANG_LIBS+= \
|
||||
clangFormat \
|
||||
clangToolingCore \
|
||||
clangToolingInclusions \
|
||||
clangTooling \
|
||||
clangFrontend \
|
||||
clangSerialization \
|
||||
clangDriver \
|
||||
clangParse \
|
||||
clangRewrite \
|
||||
clangSema \
|
||||
clangEdit \
|
||||
clangAnalysis \
|
||||
clangAST \
|
||||
clangLex \
|
||||
clangBasic
|
||||
|
||||
LLVM_LIBS+= \
|
||||
BitReader \
|
||||
MCParser \
|
||||
MC \
|
||||
Option \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
48
external/apache2/llvm/bin/clang-rename/Makefile
vendored
Normal file
48
external/apache2/llvm/bin/clang-rename/Makefile
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
PROG_CXX= clang-rename
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/tools/clang-rename
|
||||
|
||||
SRCS= ClangRename.cpp
|
||||
|
||||
CLANG_LIBS+= \
|
||||
clangToolingRefactoring \
|
||||
clangToolingCore \
|
||||
clangTooling \
|
||||
clangFrontend \
|
||||
clangIndex \
|
||||
clangSerialization \
|
||||
clangDriver \
|
||||
clangParse \
|
||||
clangRewrite \
|
||||
clangSema \
|
||||
clangEdit \
|
||||
clangAnalysis \
|
||||
clangASTMatchers \
|
||||
clangAST \
|
||||
clangLex \
|
||||
clangBasic
|
||||
|
||||
LLVM_LIBS+= \
|
||||
ProfileData \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
MCParser \
|
||||
MC \
|
||||
Option \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
33
external/apache2/llvm/bin/clang-tblgen/Makefile
vendored
Normal file
33
external/apache2/llvm/bin/clang-tblgen/Makefile
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
PROG_CXX= clang-tblgen
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/utils/TableGen
|
||||
|
||||
SRCS= ClangASTNodesEmitter.cpp \
|
||||
ClangAttrEmitter.cpp \
|
||||
ClangCommentCommandInfoEmitter.cpp \
|
||||
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp \
|
||||
ClangCommentHTMLTagsEmitter.cpp \
|
||||
ClangDataCollectorsEmitter.cpp \
|
||||
ClangDiagnosticsEmitter.cpp \
|
||||
ClangOpenCLBuiltinEmitter.cpp \
|
||||
ClangOpcodesEmitter.cpp \
|
||||
ClangOptionDocEmitter.cpp \
|
||||
ClangSACheckersEmitter.cpp \
|
||||
ClangTypeNodesEmitter.cpp \
|
||||
MveEmitter.cpp \
|
||||
NeonEmitter.cpp \
|
||||
TableGen.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
TableGen \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
132
external/apache2/llvm/bin/clang/Makefile
vendored
Normal file
132
external/apache2/llvm/bin/clang/Makefile
vendored
Normal file
@ -0,0 +1,132 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
PROG_CXX= clang
|
||||
NOMAN= yes
|
||||
|
||||
.if !defined(HOSTPROG)
|
||||
SYMLINKS+= clang ${BINDIR}/clang++
|
||||
SYMLINKS+= clang ${BINDIR}/clang-cpp
|
||||
.endif
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/tools/driver
|
||||
|
||||
SRCS= driver.cpp \
|
||||
cc1_main.cpp \
|
||||
cc1as_main.cpp \
|
||||
cc1gen_reproducer_main.cpp
|
||||
|
||||
CLANG_LIBS+= \
|
||||
clangFrontendTool \
|
||||
clangFrontend \
|
||||
clangARCMigrate \
|
||||
clangStaticAnalyzerFrontend \
|
||||
clangStaticAnalyzerCheckers \
|
||||
clangStaticAnalyzerCore \
|
||||
clangCrossTU \
|
||||
clangIndex \
|
||||
clangASTMatchers \
|
||||
clangCodeGen \
|
||||
clangFrontendRewrite \
|
||||
clangFrontend \
|
||||
clangSerialization \
|
||||
clangParse \
|
||||
clangSema \
|
||||
clangAnalysis \
|
||||
clangEdit \
|
||||
clangDriver \
|
||||
clangRewrite \
|
||||
clangAST \
|
||||
clangLex \
|
||||
clangBasic
|
||||
|
||||
LLVM_LIBS+= \
|
||||
TransformsAggressiveInstCombine \
|
||||
TransformsCoroutines \
|
||||
ProfileDataCoverage \
|
||||
LTO \
|
||||
ObjCARC \
|
||||
Passes \
|
||||
ipo \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitstreamReader \
|
||||
BitReader \
|
||||
BitWriter
|
||||
|
||||
.if !defined(HOSTPROG)
|
||||
LLVM_LIBS+= \
|
||||
AMDGPUCodeGen \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUUtils \
|
||||
MIRParser
|
||||
.endif
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AArch64CodeGen \
|
||||
AArch64TargetInfo \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Utils \
|
||||
ARMCodeGen \
|
||||
ARMTargetInfo \
|
||||
ARMMCTargetDesc \
|
||||
ARMAsmParser \
|
||||
ARMUtils \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCCodeGen \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCAsmParser \
|
||||
SparcCodeGen \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
SparcAsmParser \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86Utils \
|
||||
X86AsmParser \
|
||||
GlobalISel \
|
||||
SelectionDAG \
|
||||
AsmPrinter \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoMSF \
|
||||
CodeGen \
|
||||
Vectorize \
|
||||
Target \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
ScalarOpts \
|
||||
ProfileData \
|
||||
MCDisassembler \
|
||||
MCParser \
|
||||
MC \
|
||||
Analysis \
|
||||
Object \
|
||||
TextAPI \
|
||||
Linker \
|
||||
TransformsCFGuard \
|
||||
TransformsUtils \
|
||||
IR \
|
||||
Remarks \
|
||||
Option \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
81
external/apache2/llvm/bin/llc/Makefile
vendored
Normal file
81
external/apache2/llvm/bin/llc/Makefile
vendored
Normal file
@ -0,0 +1,81 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:58 joerg Exp $
|
||||
|
||||
PROG_CXX= llc
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llc
|
||||
|
||||
SRCS= llc.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Vectorize \
|
||||
MIRParser \
|
||||
AsmPrinter \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoMSF \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
AArch64CodeGen \
|
||||
AArch64TargetInfo \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Utils \
|
||||
AMDGPUCodeGen \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
MIRParser \
|
||||
ARMCodeGen \
|
||||
ARMTargetInfo \
|
||||
ARMMCTargetDesc \
|
||||
ARMAsmParser \
|
||||
ARMUtils \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCCodeGen \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCAsmParser \
|
||||
SparcCodeGen \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
SparcAsmParser \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
X86MCTargetDesc \
|
||||
X86AsmParser \
|
||||
X86Utils \
|
||||
ipo \
|
||||
GlobalISel \
|
||||
MCDisassembler \
|
||||
Object \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
ProfileData \
|
||||
Instrumentation \
|
||||
ScalarOpts \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
Target \
|
||||
MCParser \
|
||||
MC \
|
||||
IR \
|
||||
Remarks \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
54
external/apache2/llvm/bin/lli/Makefile
vendored
Normal file
54
external/apache2/llvm/bin/lli/Makefile
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= lli
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/lli
|
||||
|
||||
SRCS= lli.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Orc \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
X86MCTargetDesc \
|
||||
X86AsmParser \
|
||||
X86Utils \
|
||||
AsmPrinter \
|
||||
GlobalISel \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoDWARF \
|
||||
Object \
|
||||
MCParser \
|
||||
BitWriter \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
MCDisassembler \
|
||||
MCJIT \
|
||||
RuntimeDyld \
|
||||
Instrumentation \
|
||||
Interpreter \
|
||||
ExecutionEngine \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
ProfileData \
|
||||
ScalarOpts \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
Target \
|
||||
MC \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
59
external/apache2/llvm/bin/llvm-ar/Makefile
vendored
Normal file
59
external/apache2/llvm/bin/llvm-ar/Makefile
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-ar
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-ar
|
||||
|
||||
SRCS= llvm-ar.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
ToolDriversDlltool \
|
||||
ToolDrivers \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64TargetInfo \
|
||||
AArch64Utils \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
ARMAsmParser \
|
||||
ARMMCTargetDesc \
|
||||
ARMTargetInfo \
|
||||
ARMUtils \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
MipsTargetInfo \
|
||||
PowerPCAsmParser \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCTargetInfo \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
SparcAsmParser \
|
||||
X86AsmParser \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86Utils \
|
||||
X86TargetInfo \
|
||||
CodeGen \
|
||||
MCDisassembler \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Option \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
26
external/apache2/llvm/bin/llvm-as/Makefile
vendored
Normal file
26
external/apache2/llvm/bin/llvm-as/Makefile
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-as
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-as
|
||||
|
||||
SRCS= llvm-as.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitWriter \
|
||||
Analysis \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
20
external/apache2/llvm/bin/llvm-bcanalyzer/Makefile
vendored
Normal file
20
external/apache2/llvm/bin/llvm-bcanalyzer/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-bcanalyzer
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-bcanalyzer
|
||||
|
||||
SRCS= llvm-bcanalyzer.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
43
external/apache2/llvm/bin/llvm-cov/Makefile
vendored
Normal file
43
external/apache2/llvm/bin/llvm-cov/Makefile
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-cov
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-cov
|
||||
|
||||
SRCS= gcov.cpp \
|
||||
llvm-cov.cpp \
|
||||
CodeCoverage.cpp \
|
||||
CoverageExporterJson.cpp \
|
||||
CoverageExporterLcov.cpp \
|
||||
CoverageFilters.cpp \
|
||||
CoverageReport.cpp \
|
||||
CoverageSummaryInfo.cpp \
|
||||
SourceCoverageView.cpp \
|
||||
SourceCoverageViewHTML.cpp \
|
||||
SourceCoverageViewText.cpp \
|
||||
TestingSupport.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
ProfileDataCoverage \
|
||||
ProfileData \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
36
external/apache2/llvm/bin/llvm-cxxdump/Makefile
vendored
Normal file
36
external/apache2/llvm/bin/llvm-cxxdump/Makefile
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-cxxdump
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-cxxdump
|
||||
|
||||
SRCS= llvm-cxxdump.cpp \
|
||||
Error.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
ARMTargetInfo \
|
||||
AMDGPUTargetInfo \
|
||||
AArch64TargetInfo \
|
||||
MipsTargetInfo \
|
||||
PowerPCTargetInfo \
|
||||
SparcTargetInfo \
|
||||
X86TargetInfo \
|
||||
Object \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
MCParser \
|
||||
MC \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
#LDADD+= -lz
|
||||
#DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
19
external/apache2/llvm/bin/llvm-cxxfilt/Makefile
vendored
Normal file
19
external/apache2/llvm/bin/llvm-cxxfilt/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-cxxfilt
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-cxxfilt
|
||||
|
||||
SRCS= llvm-cxxfilt.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Demangle \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
27
external/apache2/llvm/bin/llvm-diff/Makefile
vendored
Normal file
27
external/apache2/llvm/bin/llvm-diff/Makefile
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-diff
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-diff
|
||||
|
||||
SRCS= llvm-diff.cpp \
|
||||
DiffConsumer.cpp \
|
||||
DiffLog.cpp \
|
||||
DifferenceEngine.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
23
external/apache2/llvm/bin/llvm-dis/Makefile
vendored
Normal file
23
external/apache2/llvm/bin/llvm-dis/Makefile
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:44:59 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-dis
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-dis
|
||||
|
||||
SRCS= llvm-dis.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Analysis \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
49
external/apache2/llvm/bin/llvm-dwarfdump/Makefile
vendored
Normal file
49
external/apache2/llvm/bin/llvm-dwarfdump/Makefile
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-dwarfdump
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-dwarfdump
|
||||
|
||||
SRCS= Statistics.cpp \
|
||||
llvm-dwarfdump.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AArch64TargetInfo \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Utils \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUUtils \
|
||||
ARMTargetInfo \
|
||||
ARMMCTargetDesc \
|
||||
ARMUtils \
|
||||
MipsTargetInfo \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCMCTargetDesc \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86MCTargetDesc \
|
||||
X86Utils \
|
||||
DebugInfoDWARF \
|
||||
Object \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
MCDisassembler \
|
||||
MCParser \
|
||||
MC \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
70
external/apache2/llvm/bin/llvm-dwp/Makefile
vendored
Normal file
70
external/apache2/llvm/bin/llvm-dwp/Makefile
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-dwp
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-dwp
|
||||
|
||||
SRCS= DWPError.cpp \
|
||||
llvm-dwp.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
DebugInfoDWARF \
|
||||
AArch64CodeGen \
|
||||
AArch64TargetInfo \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Utils \
|
||||
AMDGPUCodeGen \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUUtils \
|
||||
ARMCodeGen \
|
||||
ARMTargetInfo \
|
||||
ARMMCTargetDesc \
|
||||
ARMUtils \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCCodeGen \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCMCTargetDesc \
|
||||
SparcCodeGen \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86Utils \
|
||||
MIRParser \
|
||||
Vectorize \
|
||||
MCDisassembler \
|
||||
ipo \
|
||||
GlobalISel \
|
||||
AsmPrinter \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoMSF \
|
||||
Object \
|
||||
MCParser \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
ProfileData \
|
||||
Target \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
ScalarOpts \
|
||||
MC \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
33
external/apache2/llvm/bin/llvm-extract/Makefile
vendored
Normal file
33
external/apache2/llvm/bin/llvm-extract/Makefile
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-extract
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-extract
|
||||
|
||||
SRCS= llvm-extract.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
BitWriter \
|
||||
ipo \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
ProfileData \
|
||||
Target \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
33
external/apache2/llvm/bin/llvm-link/Makefile
vendored
Normal file
33
external/apache2/llvm/bin/llvm-link/Makefile
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-link
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-link
|
||||
|
||||
SRCS= llvm-link.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
BitWriter \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
ipo \
|
||||
Linker \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
Target \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
75
external/apache2/llvm/bin/llvm-mc/Makefile
vendored
Normal file
75
external/apache2/llvm/bin/llvm-mc/Makefile
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-mc
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-mc
|
||||
|
||||
SRCS= llvm-mc.cpp \
|
||||
Disassembler.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
MCDisassembler \
|
||||
AArch64CodeGen \
|
||||
AArch64TargetInfo \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Disassembler \
|
||||
AArch64Utils \
|
||||
AMDGPUCodeGen \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUDisassembler \
|
||||
AMDGPUUtils \
|
||||
ARMCodeGen \
|
||||
ARMTargetInfo \
|
||||
ARMAsmParser \
|
||||
ARMMCTargetDesc \
|
||||
ARMDisassembler \
|
||||
ARMUtils \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsDisassembler \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCCodeGen \
|
||||
PowerPCAsmParser \
|
||||
PowerPCDisassembler \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCMCTargetDesc \
|
||||
SparcAsmParser \
|
||||
SparcCodeGen \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
SparcDisassembler \
|
||||
X86AsmParser \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
X86MCTargetDesc \
|
||||
X86Disassembler \
|
||||
X86Utils \
|
||||
MCDisassembler \
|
||||
Object \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
Target \
|
||||
ScalarOpts \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
AsmPrinter \
|
||||
MCParser \
|
||||
MC \
|
||||
BinaryFormat \
|
||||
IR \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
56
external/apache2/llvm/bin/llvm-nm/Makefile
vendored
Normal file
56
external/apache2/llvm/bin/llvm-nm/Makefile
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-nm
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-nm
|
||||
|
||||
SRCS= llvm-nm.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64TargetInfo \
|
||||
AArch64Utils \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
ARMAsmParser \
|
||||
ARMMCTargetDesc \
|
||||
ARMTargetInfo \
|
||||
ARMUtils \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
MipsTargetInfo \
|
||||
PowerPCAsmParser \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCTargetInfo \
|
||||
SparcTargetInfo \
|
||||
SparcMCTargetDesc \
|
||||
SparcAsmParser \
|
||||
X86AsmParser \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86Utils \
|
||||
X86TargetInfo \
|
||||
CodeGen \
|
||||
MCDisassembler \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
73
external/apache2/llvm/bin/llvm-objcopy/Makefile
vendored
Normal file
73
external/apache2/llvm/bin/llvm-objcopy/Makefile
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-objcopy
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-objcopy
|
||||
|
||||
CPPFLAGS+= -I${LLVM_SRCDIR}/tools/llvm-objcopy
|
||||
|
||||
SRCS= Buffer.cpp \
|
||||
CopyConfig.cpp \
|
||||
llvm-objcopy.cpp
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-objcopy/COFF
|
||||
SRCS+= COFFObjcopy.cpp \
|
||||
Object.cpp \
|
||||
Reader.cpp \
|
||||
Writer.cpp
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-objcopy/ELF
|
||||
SRCS+= ELFConfig.cpp \
|
||||
ELFObjcopy.cpp \
|
||||
ELFObject.cpp
|
||||
|
||||
ELFObject.cpp: ${LLVM_SRCDIR}/tools/llvm-objcopy/ELF/Object.cpp
|
||||
cat ${LLVM_SRCDIR}/tools/llvm-objcopy/ELF/Object.cpp > ELFObject.cpp
|
||||
|
||||
CPPFLAGS.ELFObject.cpp+= -I${LLVM_SRCDIR}/tools/llvm-objcopy/ELF
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-objcopy/MachO
|
||||
SRCS+= MachOLayoutBuilder.cpp \
|
||||
MachOObjcopy.cpp \
|
||||
MachOObject.cpp \
|
||||
MachOReader.cpp \
|
||||
MachOWriter.cpp
|
||||
|
||||
MachOObject.cpp: ${LLVM_SRCDIR}/tools/llvm-objcopy/MachO/Object.cpp
|
||||
cat ${LLVM_SRCDIR}/tools/llvm-objcopy/MachO/Object.cpp > MachOObject.cpp
|
||||
|
||||
CPPFLAGS.MachOObject.cpp+= -I${LLVM_SRCDIR}/tools/llvm-objcopy/MachO
|
||||
|
||||
TABLEGEN_SRC= CommonOpts.td ObjcopyOpts.td StripOpts.td
|
||||
|
||||
TABLEGEN_OUTPUT.CommonOpts.td= \
|
||||
CommonOpts.inc|-gen-opt-parser-defs
|
||||
|
||||
TABLEGEN_OUTPUT.ObjcopyOpts.td= \
|
||||
ObjcopyOpts.inc|-gen-opt-parser-defs
|
||||
|
||||
TABLEGEN_OUTPUT.StripOpts.td= \
|
||||
StripOpts.inc|-gen-opt-parser-defs
|
||||
.include "${.PARSEDIR}/../../tablegen.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Object \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
MCParser \
|
||||
MC \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Option \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
71
external/apache2/llvm/bin/llvm-objdump/Makefile
vendored
Normal file
71
external/apache2/llvm/bin/llvm-objdump/Makefile
vendored
Normal file
@ -0,0 +1,71 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-objdump
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-objdump
|
||||
|
||||
SRCS= llvm-objdump.cpp \
|
||||
COFFDump.cpp \
|
||||
ELFDump.cpp \
|
||||
MachODump.cpp \
|
||||
WasmDump.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AArch64Disassembler \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64TargetInfo \
|
||||
AArch64Utils \
|
||||
AMDGPUDisassembler \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
ARMDisassembler \
|
||||
ARMAsmParser \
|
||||
ARMMCTargetDesc \
|
||||
ARMTargetInfo \
|
||||
ARMUtils \
|
||||
MipsDisassembler \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
MipsTargetInfo \
|
||||
PowerPCDisassembler \
|
||||
PowerPCAsmParser \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCTargetInfo \
|
||||
SparcDisassembler \
|
||||
SparcAsmParser \
|
||||
SparcMCTargetDesc \
|
||||
SparcTargetInfo \
|
||||
X86Disassembler \
|
||||
X86AsmParser \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86Utils \
|
||||
CodeGen \
|
||||
MCDisassembler \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoSymbolize \
|
||||
DebugInfoPDB \
|
||||
DebugInfoPDBNative \
|
||||
Object \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
MCParser \
|
||||
MC \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
26
external/apache2/llvm/bin/llvm-profdata/Makefile
vendored
Normal file
26
external/apache2/llvm/bin/llvm-profdata/Makefile
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-profdata
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-profdata
|
||||
|
||||
SRCS= llvm-profdata.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
ProfileData \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
45
external/apache2/llvm/bin/llvm-readobj/Makefile
vendored
Normal file
45
external/apache2/llvm/bin/llvm-readobj/Makefile
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-readobj
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-readobj
|
||||
|
||||
SRCS= llvm-readobj.cpp \
|
||||
ARMWinEHPrinter.cpp \
|
||||
COFFDumper.cpp \
|
||||
COFFImportDumper.cpp \
|
||||
ELFDumper.cpp \
|
||||
Error.cpp \
|
||||
MachODumper.cpp \
|
||||
ObjDumper.cpp \
|
||||
WasmDumper.cpp \
|
||||
Win64EHDumper.cpp \
|
||||
WindowsResourceDumper.cpp \
|
||||
XCOFFDumper.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
DebugInfoDWARF \
|
||||
AArch64TargetInfo \
|
||||
ARMTargetInfo \
|
||||
MipsTargetInfo \
|
||||
PowerPCTargetInfo \
|
||||
SparcTargetInfo \
|
||||
X86TargetInfo \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoMSF \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
25
external/apache2/llvm/bin/llvm-size/Makefile
vendored
Normal file
25
external/apache2/llvm/bin/llvm-size/Makefile
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-size
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-size
|
||||
|
||||
SRCS= llvm-size.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
18
external/apache2/llvm/bin/llvm-strings/Makefile
vendored
Normal file
18
external/apache2/llvm/bin/llvm-strings/Makefile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-strings
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-strings
|
||||
|
||||
SRCS= llvm-strings.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
32
external/apache2/llvm/bin/llvm-symbolizer/Makefile
vendored
Normal file
32
external/apache2/llvm/bin/llvm-symbolizer/Makefile
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-symbolizer
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-symbolizer
|
||||
|
||||
SRCS= llvm-symbolizer.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
DebugInfoSymbolize \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoPDB \
|
||||
DebugInfoPDBNative \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
45
external/apache2/llvm/bin/llvm-xray/Makefile
vendored
Normal file
45
external/apache2/llvm/bin/llvm-xray/Makefile
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-xray
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-xray
|
||||
|
||||
SRCS= func-id-helper.cpp \
|
||||
llvm-xray.cpp \
|
||||
xray-account.cpp \
|
||||
xray-color-helper.cpp \
|
||||
xray-converter.cpp \
|
||||
xray-extract.cpp \
|
||||
xray-fdr-dump.cpp \
|
||||
xray-graph.cpp \
|
||||
xray-graph-diff.cpp \
|
||||
xray-registry.cpp \
|
||||
xray-stacks.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
XRay \
|
||||
DebugInfoSymbolize \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoPDB \
|
||||
DebugInfoPDBNative \
|
||||
Object \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
MCParser \
|
||||
IR \
|
||||
MC \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
95
external/apache2/llvm/bin/opt/Makefile
vendored
Normal file
95
external/apache2/llvm/bin/opt/Makefile
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= opt
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/opt
|
||||
|
||||
SRCS= AnalysisWrappers.cpp \
|
||||
BreakpointPrinter.cpp \
|
||||
Debugify.cpp \
|
||||
GraphPrinters.cpp \
|
||||
NewPMDriver.cpp \
|
||||
PassPrinters.cpp \
|
||||
PrintSCC.cpp \
|
||||
opt.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
TransformsAggressiveInstCombine \
|
||||
Passes \
|
||||
ObjCARC \
|
||||
ipo \
|
||||
Linker \
|
||||
Object \
|
||||
IRReader \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
BitWriter \
|
||||
AArch64CodeGen \
|
||||
AArch64TargetInfo \
|
||||
AArch64AsmParser \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64Utils \
|
||||
AMDGPUCodeGen \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
ARMCodeGen \
|
||||
ARMTargetInfo \
|
||||
ARMAsmParser \
|
||||
ARMMCTargetDesc \
|
||||
ARMUtils \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
PowerPCCodeGen \
|
||||
PowerPCTargetInfo \
|
||||
PowerPCAsmParser \
|
||||
PowerPCMCTargetDesc \
|
||||
SparcCodeGen \
|
||||
SparcTargetInfo \
|
||||
SparcAsmParser \
|
||||
SparcMCTargetDesc \
|
||||
X86CodeGen \
|
||||
X86AsmParser \
|
||||
X86MCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86Utils \
|
||||
MIRParser \
|
||||
GlobalISel \
|
||||
TransformsCoroutines \
|
||||
MCDisassembler \
|
||||
AsmPrinter \
|
||||
DebugInfoCodeView \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoMSF \
|
||||
Object \
|
||||
MCParser \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
Vectorize \
|
||||
Target \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
ScalarOpts \
|
||||
ProfileData \
|
||||
MC \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
IR \
|
||||
Remarks \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
60
external/apache2/llvm/bin/sancov/Makefile
vendored
Normal file
60
external/apache2/llvm/bin/sancov/Makefile
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= sancov
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/sancov
|
||||
|
||||
SRCS= sancov.cc
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AArch64Disassembler \
|
||||
AArch64MCTargetDesc \
|
||||
AArch64TargetInfo \
|
||||
AArch64Utils \
|
||||
AMDGPUDisassembler \
|
||||
AMDGPUTargetInfo \
|
||||
AMDGPUMCTargetDesc \
|
||||
AMDGPUAsmParser \
|
||||
AMDGPUUtils \
|
||||
ARMDisassembler \
|
||||
ARMMCTargetDesc \
|
||||
ARMTargetInfo \
|
||||
ARMUtils \
|
||||
MipsDisassembler \
|
||||
MipsMCTargetDesc \
|
||||
MipsTargetInfo \
|
||||
PowerPCDisassembler \
|
||||
PowerPCMCTargetDesc \
|
||||
PowerPCTargetInfo \
|
||||
SparcDisassembler \
|
||||
SparcMCTargetDesc \
|
||||
SparcTargetInfo \
|
||||
X86Disassembler \
|
||||
X86CodeGen \
|
||||
X86MCTargetDesc \
|
||||
X86TargetInfo \
|
||||
X86Utils \
|
||||
MCDisassembler \
|
||||
DebugInfoSymbolize \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoPDB \
|
||||
DebugInfoPDBNative \
|
||||
Object \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
MCParser \
|
||||
MC \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
LDADD+= -lz
|
||||
DPADD+= ${LIBZ}
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
34
external/apache2/llvm/bin/sanstats/Makefile
vendored
Normal file
34
external/apache2/llvm/bin/sanstats/Makefile
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:01 joerg Exp $
|
||||
|
||||
PROG_CXX= sanstats
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/sanstats
|
||||
|
||||
SRCS= sanstats.cc
|
||||
|
||||
LLVM_LIBS+= \
|
||||
DebugInfoSymbolize \
|
||||
DebugInfoDWARF \
|
||||
DebugInfoPDB \
|
||||
DebugInfoPDBNative \
|
||||
Object \
|
||||
MCParser \
|
||||
MC \
|
||||
BitReader \
|
||||
BitstreamReader \
|
||||
IR \
|
||||
BinaryFormat \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
LDADD+= -lz
|
||||
.if !defined(HOSTPROG)
|
||||
DPADD+= ${LIBZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
70
external/apache2/llvm/bin/tblgen/Makefile
vendored
Normal file
70
external/apache2/llvm/bin/tblgen/Makefile
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:02 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-tblgen
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/utils/TableGen
|
||||
|
||||
SRCS= AsmMatcherEmitter.cpp \
|
||||
AsmWriterEmitter.cpp \
|
||||
AsmWriterInst.cpp \
|
||||
Attributes.cpp \
|
||||
CallingConvEmitter.cpp \
|
||||
CodeEmitterGen.cpp \
|
||||
CodeGenDAGPatterns.cpp \
|
||||
CodeGenHwModes.cpp \
|
||||
CodeGenInstruction.cpp \
|
||||
CodeGenMapTable.cpp \
|
||||
CodeGenRegisters.cpp \
|
||||
CodeGenSchedule.cpp \
|
||||
CodeGenTarget.cpp \
|
||||
CTagsEmitter.cpp \
|
||||
DAGISelEmitter.cpp \
|
||||
DAGISelMatcher.cpp \
|
||||
DAGISelMatcherEmitter.cpp \
|
||||
DAGISelMatcherGen.cpp \
|
||||
DAGISelMatcherOpt.cpp \
|
||||
DFAEmitter.cpp \
|
||||
DFAPacketizerEmitter.cpp \
|
||||
DisassemblerEmitter.cpp \
|
||||
ExegesisEmitter.cpp \
|
||||
FastISelEmitter.cpp \
|
||||
FixedLenDecoderEmitter.cpp \
|
||||
GICombinerEmitter.cpp \
|
||||
GlobalISelEmitter.cpp \
|
||||
InfoByHwMode.cpp \
|
||||
InstrDocsEmitter.cpp \
|
||||
InstrInfoEmitter.cpp \
|
||||
IntrinsicEmitter.cpp \
|
||||
OptParserEmitter.cpp \
|
||||
PredicateExpander.cpp \
|
||||
PseudoLoweringEmitter.cpp \
|
||||
RegisterBankEmitter.cpp \
|
||||
RegisterInfoEmitter.cpp \
|
||||
RISCVCompressInstEmitter.cpp \
|
||||
SDNodeProperties.cpp \
|
||||
SearchableTableEmitter.cpp \
|
||||
SubtargetEmitter.cpp \
|
||||
SubtargetFeatureInfo.cpp \
|
||||
TableGen.cpp \
|
||||
Types.cpp \
|
||||
WebAssemblyDisassemblerEmitter.cpp \
|
||||
X86DisassemblerTables.cpp \
|
||||
X86EVEX2VEXTablesEmitter.cpp \
|
||||
X86FoldTablesEmitter.cpp \
|
||||
X86ModRMFilters.cpp \
|
||||
X86RecognizableInstr.cpp
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/utils/TableGen/GlobalISel
|
||||
SRCS+= CodeExpander.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
TableGen \
|
||||
Support \
|
||||
Demangle
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
67
external/apache2/llvm/config/clang/Config/config.h
vendored
Normal file
67
external/apache2/llvm/config/clang/Config/config.h
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
/* include/clang/Config/config.h. Generated from config.h.in by configure. */
|
||||
/* This generated file is for internal use. Do not include it from headers. */
|
||||
|
||||
#ifdef CLANG_CONFIG_H
|
||||
#error config.h can only be included once
|
||||
#else
|
||||
#define CLANG_CONFIG_H
|
||||
|
||||
/* Bug report URL. */
|
||||
#define BUG_REPORT_URL "http://llvm.org/bugs/"
|
||||
|
||||
/* Default C++ stdlib to use. */
|
||||
#define CLANG_DEFAULT_CXX_STDLIB ""
|
||||
|
||||
/* Default objcopy to use */
|
||||
#define CLANG_DEFAULT_OBJCOPY "objcopy"
|
||||
|
||||
/* Default runtime library to use. */
|
||||
#define CLANG_DEFAULT_RTLIB ""
|
||||
|
||||
/* Default unwind library to use. */
|
||||
#define CLANG_DEFAULT_UNWINDLIB "none"
|
||||
|
||||
/* Default linker to use (linker name or absolute path, empty for platform
|
||||
default) */
|
||||
#define CLANG_DEFAULT_LINKER ""
|
||||
|
||||
/* Default OpenMP runtime used by -fopenmp. */
|
||||
#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
|
||||
|
||||
/* Multilib suffix for libdir. */
|
||||
#define CLANG_LIBDIR_SUFFIX ""
|
||||
|
||||
/* Relative directory for resource files */
|
||||
#define CLANG_RESOURCE_DIR ""
|
||||
|
||||
/* Directories clang will search for headers */
|
||||
#define C_INCLUDE_DIRS "/usr/include/clang-9.0:/usr/include"
|
||||
|
||||
/* Default <path> to all compiler invocations for --sysroot=<path>. */
|
||||
#define DEFAULT_SYSROOT ""
|
||||
|
||||
/* Directory where gcc is installed. */
|
||||
#define GCC_INSTALL_PREFIX ""
|
||||
|
||||
/* Define if we have libxml2 */
|
||||
/* #undef CLANG_HAVE_LIBXML */
|
||||
|
||||
#define PACKAGE_STRING "LLVM 4.0.0svn"
|
||||
|
||||
/* The LLVM product name and version */
|
||||
#define BACKEND_PACKAGE_STRING PACKAGE_STRING
|
||||
|
||||
/* Linker version detected at compile time. */
|
||||
#define HOST_LINK_VERSION "1"
|
||||
|
||||
/* enable x86 relax relocations by default */
|
||||
#define ENABLE_X86_RELAX_RELOCATIONS 0
|
||||
|
||||
#define CLANG_ENABLE_ARCMT 1
|
||||
#define CLANG_ENABLE_OBJC_REWRITER 1
|
||||
#define CLANG_ENABLE_STATIC_ANALYZER 1
|
||||
|
||||
#define ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER 0
|
||||
#define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35"
|
||||
|
||||
#endif
|
36
external/apache2/llvm/config/llvm/Config/AsmParsers.def
vendored
Normal file
36
external/apache2/llvm/config/llvm/Config/AsmParsers.def
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the assembly-language parsers *|
|
||||
|* supported by this build of LLVM. Clients of this file should define *|
|
||||
|* the LLVM_ASM_PARSER macro to be a function-like macro with a *|
|
||||
|* single parameter (the name of the target whose assembly can be *|
|
||||
|* generated); including this file will then enumerate all of the *|
|
||||
|* targets with assembly parsers. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_ASM_PARSER
|
||||
# error Please define the macro LLVM_ASM_PARSER(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_ASM_PARSER(AMDGPU)
|
||||
LLVM_ASM_PARSER(Mips)
|
||||
LLVM_ASM_PARSER(ARM)
|
||||
LLVM_ASM_PARSER(AArch64)
|
||||
LLVM_ASM_PARSER(Sparc)
|
||||
LLVM_ASM_PARSER(PowerPC)
|
||||
LLVM_ASM_PARSER(X86)
|
||||
|
||||
|
||||
#undef LLVM_ASM_PARSER
|
36
external/apache2/llvm/config/llvm/Config/AsmPrinters.def
vendored
Normal file
36
external/apache2/llvm/config/llvm/Config/AsmPrinters.def
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the assembly-language printers *|
|
||||
|* supported by this build of LLVM. Clients of this file should define *|
|
||||
|* the LLVM_ASM_PRINTER macro to be a function-like macro with a *|
|
||||
|* single parameter (the name of the target whose assembly can be *|
|
||||
|* generated); including this file will then enumerate all of the *|
|
||||
|* targets with assembly printers. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_ASM_PRINTER
|
||||
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_ASM_PRINTER(AMDGPU)
|
||||
LLVM_ASM_PRINTER(Mips)
|
||||
LLVM_ASM_PRINTER(ARM)
|
||||
LLVM_ASM_PRINTER(AArch64)
|
||||
LLVM_ASM_PRINTER(Sparc)
|
||||
LLVM_ASM_PRINTER(PowerPC)
|
||||
LLVM_ASM_PRINTER(X86)
|
||||
|
||||
|
||||
#undef LLVM_ASM_PRINTER
|
36
external/apache2/llvm/config/llvm/Config/Disassemblers.def
vendored
Normal file
36
external/apache2/llvm/config/llvm/Config/Disassemblers.def
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the assembly-language parsers *|
|
||||
|* supported by this build of LLVM. Clients of this file should define *|
|
||||
|* the LLVM_DISASSEMBLER macro to be a function-like macro with a *|
|
||||
|* single parameter (the name of the target whose assembly can be *|
|
||||
|* generated); including this file will then enumerate all of the *|
|
||||
|* targets with assembly parsers. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_DISASSEMBLER
|
||||
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_DISASSEMBLER(AMDGPU)
|
||||
LLVM_DISASSEMBLER(Mips)
|
||||
LLVM_DISASSEMBLER(ARM)
|
||||
LLVM_DISASSEMBLER(AArch64)
|
||||
LLVM_DISASSEMBLER(Sparc)
|
||||
LLVM_DISASSEMBLER(PowerPC)
|
||||
LLVM_DISASSEMBLER(X86)
|
||||
|
||||
|
||||
#undef LLVM_DISASSEMBLER
|
35
external/apache2/llvm/config/llvm/Config/Targets.def
vendored
Normal file
35
external/apache2/llvm/config/llvm/Config/Targets.def
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the target architectures supported by *|
|
||||
|* this build of LLVM. Clients of this file should define the *|
|
||||
|* LLVM_TARGET macro to be a function-like macro with a single *|
|
||||
|* parameter (the name of the target); including this file will then *|
|
||||
|* enumerate all of the targets. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_TARGET
|
||||
# error Please define the macro LLVM_TARGET(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_TARGET(AMDGPU)
|
||||
LLVM_TARGET(Mips)
|
||||
LLVM_TARGET(ARM)
|
||||
LLVM_TARGET(AArch64)
|
||||
LLVM_TARGET(Sparc)
|
||||
LLVM_TARGET(PowerPC)
|
||||
LLVM_TARGET(X86)
|
||||
|
||||
|
||||
#undef LLVM_TARGET
|
42
external/apache2/llvm/config/llvm/Config/abi-breaking.h
vendored
Normal file
42
external/apache2/llvm/config/llvm/Config/abi-breaking.h
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
/* include/llvm/Config/abi-breaking.h. Generated from abi-breaking.h.in by configure. */
|
||||
/*===------- llvm/Config/abi-breaking.h - llvm configuration -------*- C -*-===*/
|
||||
/* */
|
||||
/* The LLVM Compiler Infrastructure */
|
||||
/* */
|
||||
/* This file is distributed under the University of Illinois Open Source */
|
||||
/* License. See LICENSE.TXT for details. */
|
||||
/* */
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* This file controls the C++ ABI break introduced in LLVM public header. */
|
||||
|
||||
#ifndef LLVM_ABI_BREAKING_CHECKS_H
|
||||
#define LLVM_ABI_BREAKING_CHECKS_H
|
||||
|
||||
/* Define to enable checks that alter the LLVM C++ ABI */
|
||||
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 0
|
||||
|
||||
// ABI_BREAKING_CHECKS protection: provides link-time failure when clients build
|
||||
// mismatch with LLVM
|
||||
#if defined(_MSC_VER)
|
||||
// Use pragma with MSVC
|
||||
#define LLVM_XSTR(s) LLVM_STR(s)
|
||||
#define LLVM_STR(s) #s
|
||||
#pragma detect_mismatch("LLVM_ENABLE_ABI_BREAKING_CHECKS", LLVM_XSTR(LLVM_ENABLE_ABI_BREAKING_CHECKS))
|
||||
/* #undef LLVM_XSTR */
|
||||
/* #undef LLVM_STR */
|
||||
#elif defined(_WIN32) || defined(__CYGWIN__) // Win32 w/o #pragma detect_mismatch
|
||||
// FIXME: Implement checks without weak.
|
||||
#elif defined(__cplusplus)
|
||||
namespace llvm {
|
||||
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
|
||||
extern int EnableABIBreakingChecks;
|
||||
__attribute__((weak, visibility ("hidden"))) int *VerifyEnableABIBreakingChecks = &EnableABIBreakingChecks;
|
||||
#else
|
||||
extern int DisableABIBreakingChecks;
|
||||
__attribute__((weak, visibility ("hidden"))) int *VerifyDisableABIBreakingChecks = &DisableABIBreakingChecks;
|
||||
#endif
|
||||
}
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif
|
522
external/apache2/llvm/config/llvm/Config/config.h.in
vendored
Normal file
522
external/apache2/llvm/config/llvm/Config/config.h.in
vendored
Normal file
@ -0,0 +1,522 @@
|
||||
/* include/llvm/Config/config.h. Generated from config.h.in by configure. */
|
||||
/* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
/* Exported configuration */
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
|
||||
/* Header containing the backtrace function */
|
||||
#define BACKTRACE_HEADER <execinfo.h>
|
||||
|
||||
/* Bug report URL. */
|
||||
#define BUG_REPORT_URL "http://llvm.org/bugs/"
|
||||
|
||||
/* Default C++ stdlib to use. */
|
||||
#define CLANG_DEFAULT_CXX_STDLIB ""
|
||||
|
||||
/* Default linker to use (linker name or absolute path, empty for platform
|
||||
default) */
|
||||
#define CLANG_DEFAULT_LINKER ""
|
||||
|
||||
/* Default objcopy to use. */
|
||||
#define CLANG_DEFAULT_OBJCOPY "objcopy"
|
||||
|
||||
/* Default OpenMP runtime used by -fopenmp. */
|
||||
#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
|
||||
|
||||
/* Default runtime library to use. */
|
||||
#define CLANG_DEFAULT_RTLIB ""
|
||||
|
||||
/* Default unwind library to use. */
|
||||
#define CLANG_DEFAULT_UNWINDLIB "none"
|
||||
|
||||
/* Build ARCMT */
|
||||
#define CLANG_ENABLE_ARCMT 1
|
||||
|
||||
/* Build ObjC rewriter */
|
||||
#define CLANG_ENABLE_OBJC_REWRITER 1
|
||||
|
||||
/* Build Static analyzer */
|
||||
#define CLANG_ENABLE_STATIC_ANALYZER 1
|
||||
|
||||
/* Multilib suffix for libdir. */
|
||||
#define CLANG_LIBDIR_SUFFIX ""
|
||||
|
||||
/* Default architecture for OpenMP offloading to Nvidia GPUs. */
|
||||
#define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35"
|
||||
|
||||
/* Relative directory for resource files */
|
||||
#define CLANG_RESOURCE_DIR ""
|
||||
|
||||
/* Directories clang will search for headers */
|
||||
#define C_INCLUDE_DIRS "/usr/include/clang-9.0:/usr/include"
|
||||
|
||||
/* Default <path> to all compiler invocations for --sysroot=<path>. */
|
||||
#define DEFAULT_SYSROOT ""
|
||||
|
||||
/* Define to 1 to enable backtraces, and to 0 otherwise. */
|
||||
#define ENABLE_BACKTRACES 1
|
||||
|
||||
/* Define to 1 to enable crash overrides, and to 0 otherwise. */
|
||||
#define ENABLE_CRASH_OVERRIDES 1
|
||||
|
||||
/* Enable the experimental new pass manager by default */
|
||||
#define ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER 0
|
||||
|
||||
/* enable x86 relax relocations by default */
|
||||
#define ENABLE_X86_RELAX_RELOCATIONS 0
|
||||
|
||||
/* Directory where gcc is installed. */
|
||||
#define GCC_INSTALL_PREFIX ""
|
||||
|
||||
/* Define to 1 if you have the `backtrace' function. */
|
||||
#define HAVE_BACKTRACE 1
|
||||
|
||||
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
|
||||
/* #undef HAVE_CRASHREPORTERCLIENT_H */
|
||||
|
||||
/* can use __crashreporter_info__ */
|
||||
#define HAVE_CRASHREPORTER_INFO 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_ARC4RANDOM 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_FE_ALL_EXCEPT 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_FE_INEXACT 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRERROR_S 0
|
||||
|
||||
/* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
|
||||
#define HAVE_DIA_SDK 0
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define if dlopen() is available on this platform. */
|
||||
#define HAVE_DLOPEN 1
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#define HAVE_ERRNO_H 1
|
||||
|
||||
/* Define to 1 if you have the <execinfo.h> header file. */
|
||||
#define HAVE_EXECINFO_H 1
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <fenv.h> header file. */
|
||||
#define HAVE_FENV_H 1
|
||||
|
||||
/* Define if libffi is available on this platform. */
|
||||
/* #undef HAVE_FFI_CALL */
|
||||
|
||||
/* Define to 1 if you have the <ffi/ffi.h> header file. */
|
||||
/* #undef HAVE_FFI_FFI_H */
|
||||
|
||||
/* Define to 1 if you have the <ffi.h> header file. */
|
||||
/* #undef HAVE_FFI_H */
|
||||
|
||||
/* Define to 1 if you have the `futimens' function. */
|
||||
#define HAVE_FUTIMENS 1
|
||||
|
||||
/* Define to 1 if you have the `futimes' function. */
|
||||
#define HAVE_FUTIMES 1
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if you have the `getrlimit' function. */
|
||||
#define HAVE_GETRLIMIT 1
|
||||
|
||||
/* Define to 1 if you have the `getrusage' function. */
|
||||
#define HAVE_GETRUSAGE 1
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
|
||||
/* Define to 1 if the system has the type `int64_t'. */
|
||||
#define HAVE_INT64_T 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `isatty' function. */
|
||||
#define HAVE_ISATTY 1
|
||||
|
||||
/* Define to 1 if you have the `edit' library (-ledit). */
|
||||
#define HAVE_LIBEDIT 1
|
||||
|
||||
/* Define to 1 if you have the `psapi' library (-lpsapi). */
|
||||
/* #undef HAVE_LIBPSAPI */
|
||||
|
||||
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
||||
#define HAVE_LIBPTHREAD 1
|
||||
|
||||
/* Define to 1 if you have the `shell32' library (-lshell32). */
|
||||
/* #undef HAVE_LIBSHELL32 */
|
||||
|
||||
/* Define to 1 if you have the `z' library (-lz). */
|
||||
#define HAVE_LIBZ 1
|
||||
|
||||
/* Define to 1 if you have the <link.h> header file. */
|
||||
#define HAVE_LINK_H 1
|
||||
|
||||
/* Define to 1 if you have the <mach/mach.h> header file. */
|
||||
/* #undef HAVE_MACH_MACH_H */
|
||||
|
||||
/* Define to 1 if you have the `mallctl' function. */
|
||||
/* #undef HAVE_MALLCTL */
|
||||
|
||||
/* Define to 1 if you have the `mallinfo' function. */
|
||||
/* #undef HAVE_MALLINFO */
|
||||
|
||||
/* Define to 1 if you have the <malloc/malloc.h> header file. */
|
||||
/* #undef HAVE_MALLOC_MALLOC_H */
|
||||
|
||||
/* Define to 1 if you have the `malloc_zone_statistics' function. */
|
||||
/* #undef HAVE_MALLOC_ZONE_STATISTICS */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mkdtemp' function. */
|
||||
#define HAVE_MKDTEMP 1
|
||||
|
||||
/* Define to 1 if you have the `mkstemp' function. */
|
||||
#define HAVE_MKSTEMP 1
|
||||
|
||||
/* Define to 1 if you have the `mktemp' function. */
|
||||
#define HAVE_MKTEMP 1
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the `posix_fallocate' function. */
|
||||
#define HAVE_POSIX_FALLOCATE 1
|
||||
|
||||
/* Define to 1 if you have the `posix_spawn' function. */
|
||||
#define HAVE_POSIX_SPAWN 1
|
||||
|
||||
/* Define to 1 if you have the `pread' function. */
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/* Have pthread_getspecific */
|
||||
#define HAVE_PTHREAD_GETSPECIFIC 1
|
||||
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#define HAVE_PTHREAD_H 1
|
||||
|
||||
/* Have pthread_mutex_lock */
|
||||
#define HAVE_PTHREAD_MUTEX_LOCK 1
|
||||
|
||||
/* Have pthread_rwlock_init */
|
||||
#define HAVE_PTHREAD_RWLOCK_INIT 1
|
||||
|
||||
/* Define to 1 if you have the `realpath' function. */
|
||||
#define HAVE_REALPATH 1
|
||||
|
||||
/* Define to 1 if you have the `sbrk' function. */
|
||||
#define HAVE_SBRK 1
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setrlimit' function. */
|
||||
#define HAVE_SETRLIMIT 1
|
||||
|
||||
/* Define to 1 if you have the `sigaltstack' function. */
|
||||
#define HAVE_SIGALTSTACK 1
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Has usable std::is_trivially_copyable */
|
||||
#define HAVE_STD_IS_TRIVIALLY_COPYABLE 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#define HAVE_STRERROR_R 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strtoll' function. */
|
||||
#define HAVE_STRTOLL 1
|
||||
|
||||
/* Define to 1 if `st_mtimensec.tv_nsec' is a member of `struct stat'. */
|
||||
/* #undef HAVE_STRUCT_STAT_ST_MTIMENSEC_TV_NSEC */
|
||||
|
||||
/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
|
||||
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
|
||||
|
||||
/* Define to 1 if you have the `sysconf' function. */
|
||||
#define HAVE_SYSCONF 1
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_DIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#define HAVE_SYS_IOCTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/mman.h> header file. */
|
||||
#define HAVE_SYS_MMAN_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#define HAVE_SYS_RESOURCE_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/uio.h> header file. */
|
||||
#define HAVE_SYS_UIO_H 1
|
||||
|
||||
/* Define if the setupterm() function is supported this platform. */
|
||||
#define HAVE_TERMINFO 1
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#define HAVE_TERMIOS_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `uint64_t'. */
|
||||
#define HAVE_UINT64_T 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `u_int64_t'. */
|
||||
/* #undef HAVE_U_INT64_T */
|
||||
|
||||
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
|
||||
/* #undef HAVE_VALGRIND_VALGRIND_H */
|
||||
|
||||
/* Define to 1 if you have the `writev' function. */
|
||||
#define HAVE_WRITEV 1
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
#define HAVE_ZLIB_H 1
|
||||
|
||||
/* Have host's _alloca */
|
||||
/* #undef HAVE__ALLOCA */
|
||||
|
||||
/* Define to 1 if you have the `_chsize_s' function. */
|
||||
/* #undef HAVE__CHSIZE_S */
|
||||
|
||||
/* Define to 1 if you have the `_Unwind_Backtrace' function. */
|
||||
#define HAVE__UNWIND_BACKTRACE 1
|
||||
|
||||
/* Have host's __alloca */
|
||||
/* #undef HAVE___ALLOCA */
|
||||
|
||||
/* Have host's __ashldi3 */
|
||||
/* #undef HAVE___ASHLDI3 */
|
||||
|
||||
/* Have host's __ashrdi3 */
|
||||
/* #undef HAVE___ASHRDI3 */
|
||||
|
||||
/* Have host's __chkstk */
|
||||
/* #undef HAVE___CHKSTK */
|
||||
|
||||
/* Have host's __chkstk_ms */
|
||||
/* #undef HAVE___CHKSTK_MS */
|
||||
|
||||
/* Have host's __cmpdi2 */
|
||||
/* #undef HAVE___CMPDI2 */
|
||||
|
||||
/* Have host's __divdi3 */
|
||||
/* #undef HAVE___DIVDI3 */
|
||||
|
||||
/* Have host's __fixdfdi */
|
||||
/* #undef HAVE___FIXDFDI */
|
||||
|
||||
/* Have host's __fixsfdi */
|
||||
/* #undef HAVE___FIXSFDI */
|
||||
|
||||
/* Have host's __floatdidf */
|
||||
/* #undef HAVE___FLOATDIDF */
|
||||
|
||||
/* Have host's __lshrdi3 */
|
||||
/* #undef HAVE___LSHRDI3 */
|
||||
|
||||
/* Have host's __main */
|
||||
/* #undef HAVE___MAIN */
|
||||
|
||||
/* Have host's __moddi3 */
|
||||
/* #undef HAVE___MODDI3 */
|
||||
|
||||
/* Have host's __udivdi3 */
|
||||
/* #undef HAVE___UDIVDI3 */
|
||||
|
||||
/* Have host's __umoddi3 */
|
||||
/* #undef HAVE___UMODDI3 */
|
||||
|
||||
/* Have host's ___chkstk */
|
||||
/* #undef HAVE____CHKSTK */
|
||||
|
||||
/* Have host's ___chkstk_ms */
|
||||
/* #undef HAVE____CHKSTK_MS */
|
||||
|
||||
/* Linker version detected at compile time. */
|
||||
#define HOST_LINK_VERSION "1"
|
||||
|
||||
/* Define if we link Polly to the tools */
|
||||
/* #undef LINK_POLLY_INTO_TOOLS */
|
||||
|
||||
/* Target triple LLVM will generate code for by default */
|
||||
#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64--netbsd"
|
||||
|
||||
/* Define to 1 to checks for ABI changes, and to 0 otherwise. */
|
||||
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 0
|
||||
|
||||
/* Enable crash memory dumps (Windows-only) */
|
||||
#define LLVM_ENABLE_CRASH_DUMPS 0
|
||||
|
||||
/* Define if threads enabled */
|
||||
#define LLVM_ENABLE_THREADS 1
|
||||
|
||||
/* Define if zlib compression is available */
|
||||
#define LLVM_ENABLE_ZLIB 1
|
||||
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#define LLVM_HAS_ATOMICS 1
|
||||
|
||||
/* Host triple LLVM will be executed on */
|
||||
#define LLVM_HOST_TRIPLE "x86_64--netbsd"
|
||||
|
||||
/* LLVM architecture name for the native architecture, if available */
|
||||
#define LLVM_NATIVE_ARCH X86
|
||||
|
||||
/* LLVM name for the native AsmParser init function, if available */
|
||||
#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
|
||||
|
||||
/* LLVM name for the native AsmPrinter init function, if available */
|
||||
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
|
||||
|
||||
/* LLVM name for the native Disassembler init function, if available */
|
||||
#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
|
||||
|
||||
/* LLVM name for the native Target init function, if available */
|
||||
#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
|
||||
|
||||
/* LLVM name for the native TargetInfo init function, if available */
|
||||
#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
|
||||
|
||||
/* LLVM name for the native target MC init function, if available */
|
||||
#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
|
||||
|
||||
/* Define if this is Unixish platform */
|
||||
#define LLVM_ON_UNIX 1
|
||||
|
||||
/* Define if this is Win32ish platform */
|
||||
/* #undef LLVM_ON_WIN32 */
|
||||
|
||||
/* Installation prefix directory */
|
||||
#define LLVM_PREFIX "/usr"
|
||||
|
||||
/* Enable support for Xcode signposts (disabled) */
|
||||
#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
|
||||
|
||||
/* Define if we have the Intel JIT API runtime support library */
|
||||
#define LLVM_USE_INTEL_JITEVENTS 0
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#define LLVM_USE_OPROFILE 0
|
||||
|
||||
/* LLVM version information */
|
||||
/* #undef LLVM_VERSION_INFO */
|
||||
|
||||
/* Major version of the LLVM API */
|
||||
#define LLVM_VERSION_MAJOR 4
|
||||
|
||||
/* Minor version of the LLVM API */
|
||||
#define LLVM_VERSION_MINOR 0
|
||||
|
||||
/* Patch version of the LLVM API */
|
||||
#define LLVM_VERSION_PATCH 0
|
||||
|
||||
/* LLVM version string */
|
||||
#define LLVM_VERSION_STRING "4.0.0svn"
|
||||
|
||||
/* Define to the extension used for shared libraries, say, ".so". */
|
||||
#define LTDL_SHLIB_EXT ".so"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "http://llvm.org/bugs/"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "LLVM"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "LLVM 4.0.0svn"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "llvm"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "4.0.0svn"
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||
/* #undef STAT_MACROS_BROKEN */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
/* #undef TM_IN_SYS_TIME */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef pid_t */
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
#endif
|
84
external/apache2/llvm/config/llvm/Config/llvm-config.h.in
vendored
Normal file
84
external/apache2/llvm/config/llvm/Config/llvm-config.h.in
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
/* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */
|
||||
/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
|
||||
/* */
|
||||
/* The LLVM Compiler Infrastructure */
|
||||
/* */
|
||||
/* This file is distributed under the University of Illinois Open Source */
|
||||
/* License. See LICENSE.TXT for details. */
|
||||
/* */
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* This file enumerates variables from the LLVM configuration so that they
|
||||
can be in exported headers and won't override package specific directives.
|
||||
This is a C header that can be included in the llvm-c headers. */
|
||||
|
||||
#ifndef LLVM_CONFIG_H
|
||||
#define LLVM_CONFIG_H
|
||||
|
||||
/* Define if we link Polly to the tools */
|
||||
/* #undef LINK_POLLY_INTO_TOOLS */
|
||||
|
||||
/* Target triple LLVM will generate code for by default */
|
||||
#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64--netbsd"
|
||||
|
||||
/* Define to enable checks that alter the LLVM C++ ABI */
|
||||
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 0
|
||||
|
||||
/* Define if threads enabled */
|
||||
#define LLVM_ENABLE_THREADS 1
|
||||
|
||||
/* Has gcc/MSVC atomic intrinsics */
|
||||
#define LLVM_HAS_ATOMICS 1
|
||||
|
||||
/* Host triple LLVM will be executed on */
|
||||
#define LLVM_HOST_TRIPLE "x86_64--netbsd"
|
||||
|
||||
/* LLVM architecture name for the native architecture, if available */
|
||||
#define LLVM_NATIVE_ARCH X86
|
||||
|
||||
/* LLVM name for the native AsmParser init function, if available */
|
||||
#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
|
||||
|
||||
/* LLVM name for the native AsmPrinter init function, if available */
|
||||
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
|
||||
|
||||
/* LLVM name for the native Disassembler init function, if available */
|
||||
#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
|
||||
|
||||
/* LLVM name for the native Target init function, if available */
|
||||
#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
|
||||
|
||||
/* LLVM name for the native TargetInfo init function, if available */
|
||||
#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
|
||||
|
||||
/* LLVM name for the native target MC init function, if available */
|
||||
#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
|
||||
|
||||
/* Define if this is Unixish platform */
|
||||
#define LLVM_ON_UNIX 1
|
||||
|
||||
/* Define if this is Win32ish platform */
|
||||
/* #undef LLVM_ON_WIN32 */
|
||||
|
||||
/* Installation prefix directory */
|
||||
#define LLVM_PREFIX "/usr"
|
||||
|
||||
/* Define if we have the Intel JIT API runtime support library */
|
||||
#define LLVM_USE_INTEL_JITEVENTS 0
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#define LLVM_USE_OPROFILE 0
|
||||
|
||||
/* Major version of the LLVM API */
|
||||
#define LLVM_VERSION_MAJOR 4
|
||||
|
||||
/* Minor version of the LLVM API */
|
||||
#define LLVM_VERSION_MINOR 0
|
||||
|
||||
/* Patch version of the LLVM API */
|
||||
#define LLVM_VERSION_PATCH 0
|
||||
|
||||
/* LLVM version string */
|
||||
#define LLVM_VERSION_STRING "4.0.0svn"
|
||||
|
||||
#endif
|
131
external/apache2/llvm/config/llvm/Support/DataTypes.h
vendored
Normal file
131
external/apache2/llvm/config/llvm/Support/DataTypes.h
vendored
Normal file
@ -0,0 +1,131 @@
|
||||
/* include/llvm/Support/DataTypes.h. Generated from DataTypes.h.in by configure. */
|
||||
/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file contains definitions to figure out the size of _HOST_ data types.*|
|
||||
|* This file is important because different host OS's define different macros,*|
|
||||
|* which makes portability tough. This file exports the following *|
|
||||
|* definitions: *|
|
||||
|* *|
|
||||
|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*|
|
||||
|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *|
|
||||
|* *|
|
||||
|* No library is required when using these functions. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* Please leave this file C-compatible. */
|
||||
|
||||
/* Please keep this file in sync with DataTypes.h.cmake */
|
||||
|
||||
#ifndef SUPPORT_DATATYPES_H
|
||||
#define SUPPORT_DATATYPES_H
|
||||
|
||||
#define HAVE_INTTYPES_H 1
|
||||
#define HAVE_STDINT_H 1
|
||||
#define HAVE_UINT64_T 1
|
||||
/* #undef HAVE_U_INT64_T */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cmath>
|
||||
#else
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#error "Compiler must provide an implementation of stdint.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
|
||||
being defined. We would define it here, but in order to prevent Bad Things
|
||||
happening when system headers or C++ STL headers include stdint.h before we
|
||||
define it here, we define it on the g++ command line (in Makefile.rules). */
|
||||
#if !defined(__STDC_LIMIT_MACROS)
|
||||
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__STDC_CONSTANT_MACROS)
|
||||
# error "Must #define __STDC_CONSTANT_MACROS before " \
|
||||
"#including Support/DataTypes.h"
|
||||
#endif
|
||||
|
||||
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef _AIX
|
||||
#include "llvm/Support/AIXDataTypesFix.h"
|
||||
#endif
|
||||
|
||||
/* Handle incorrect definition of uint64_t as u_int64_t */
|
||||
#ifndef HAVE_UINT64_T
|
||||
#ifdef HAVE_U_INT64_T
|
||||
typedef u_int64_t uint64_t;
|
||||
#else
|
||||
# error "Don't have a definition for uint64_t on this platform"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else /* _MSC_VER */
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef __cplusplus
|
||||
#include <cmath>
|
||||
#else
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
#if defined(_WIN64)
|
||||
typedef signed __int64 ssize_t;
|
||||
#else
|
||||
typedef signed int ssize_t;
|
||||
#endif /* _WIN64 */
|
||||
|
||||
#ifndef HAVE_INTTYPES_H
|
||||
#define PRId64 "I64d"
|
||||
#define PRIi64 "I64i"
|
||||
#define PRIo64 "I64o"
|
||||
#define PRIu64 "I64u"
|
||||
#define PRIx64 "I64x"
|
||||
#define PRIX64 "I64X"
|
||||
|
||||
#define PRId32 "d"
|
||||
#define PRIi32 "i"
|
||||
#define PRIo32 "o"
|
||||
#define PRIu32 "u"
|
||||
#define PRIx32 "x"
|
||||
#define PRIX32 "X"
|
||||
#endif /* HAVE_INTTYPES_H */
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
/* Set defaults for constants which we cannot find. */
|
||||
#if !defined(INT64_MAX)
|
||||
# define INT64_MAX 9223372036854775807LL
|
||||
#endif
|
||||
#if !defined(INT64_MIN)
|
||||
# define INT64_MIN ((-INT64_MAX)-1)
|
||||
#endif
|
||||
#if !defined(UINT64_MAX)
|
||||
# define UINT64_MAX 0xffffffffffffffffULL
|
||||
#endif
|
||||
|
||||
#ifndef HUGE_VALF
|
||||
#define HUGE_VALF (float)HUGE_VAL
|
||||
#endif
|
||||
|
||||
#endif /* SUPPORT_DATATYPES_H */
|
370
external/apache2/llvm/include/Makefile
vendored
Normal file
370
external/apache2/llvm/include/Makefile
vendored
Normal file
@ -0,0 +1,370 @@
|
||||
# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:02 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.if ${MKLLVM} != "no"
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Headers
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
||||
INCS= adxintrin.h \
|
||||
ammintrin.h \
|
||||
avx2intrin.h \
|
||||
avx512bf16intrin.h \
|
||||
avx512vlbf16intrin.h \
|
||||
avx512vlvp2intersectintrin.h \
|
||||
avx512vp2intersectintrin.h \
|
||||
enqcmdintrin.h \
|
||||
avx512bitalgintrin.h \
|
||||
avx512bwintrin.h \
|
||||
avx512cdintrin.h \
|
||||
avx512dqintrin.h \
|
||||
avx512erintrin.h \
|
||||
avx512fintrin.h \
|
||||
avx512ifmaintrin.h \
|
||||
avx512ifmavlintrin.h \
|
||||
avx512pfintrin.h \
|
||||
avx512vbmi2intrin.h \
|
||||
avx512vbmiintrin.h \
|
||||
avx512vbmivlintrin.h \
|
||||
avx512vlbitalgintrin.h \
|
||||
avx512vlbwintrin.h \
|
||||
avx512vlcdintrin.h \
|
||||
avx512vldqintrin.h \
|
||||
avx512vlintrin.h \
|
||||
avx512vlvbmi2intrin.h \
|
||||
avx512vlvnniintrin.h \
|
||||
avx512vnniintrin.h \
|
||||
avx512vpopcntdqintrin.h \
|
||||
avx512vpopcntdqvlintrin.h \
|
||||
avxintrin.h \
|
||||
bmi2intrin.h \
|
||||
bmiintrin.h \
|
||||
cetintrin.h \
|
||||
cldemoteintrin.h \
|
||||
clflushoptintrin.h \
|
||||
clwbintrin.h \
|
||||
clzerointrin.h \
|
||||
cpuid.h \
|
||||
emmintrin.h \
|
||||
f16cintrin.h \
|
||||
fma4intrin.h \
|
||||
fmaintrin.h \
|
||||
fxsrintrin.h \
|
||||
gfniintrin.h \
|
||||
ia32intrin.h \
|
||||
immintrin.h \
|
||||
invpcidintrin.h \
|
||||
lwpintrin.h \
|
||||
lzcntintrin.h \
|
||||
mm3dnow.h \
|
||||
mmintrin.h \
|
||||
mm_malloc.h \
|
||||
movdirintrin.h \
|
||||
mwaitxintrin.h \
|
||||
nmmintrin.h \
|
||||
pconfigintrin.h \
|
||||
pkuintrin.h \
|
||||
pmmintrin.h \
|
||||
popcntintrin.h \
|
||||
prfchwintrin.h \
|
||||
ptwriteintrin.h \
|
||||
rdseedintrin.h \
|
||||
rtmintrin.h \
|
||||
sgxintrin.h \
|
||||
shaintrin.h \
|
||||
smmintrin.h \
|
||||
tbmintrin.h \
|
||||
tmmintrin.h \
|
||||
vaesintrin.h \
|
||||
vpclmulqdqintrin.h \
|
||||
waitpkgintrin.h \
|
||||
wbnoinvdintrin.h \
|
||||
wmmintrin.h \
|
||||
__wmmintrin_aes.h \
|
||||
__wmmintrin_pclmul.h \
|
||||
x86intrin.h \
|
||||
xmmintrin.h \
|
||||
xopintrin.h \
|
||||
xsavecintrin.h \
|
||||
xsaveintrin.h \
|
||||
xsaveoptintrin.h \
|
||||
xsavesintrin.h \
|
||||
xtestintrin.h
|
||||
|
||||
.elif ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
|
||||
INCS= altivec.h \
|
||||
htmintrin.h \
|
||||
htmxlintrin.h
|
||||
.elif ${MACHINE_CPU} == "arm" || ${MACHINE_CPU} == "aarch64"
|
||||
INCS= arm_acle.h \
|
||||
arm_neon.h
|
||||
. if ${MACHINE_CPU} == "aarch64"
|
||||
INCS+= arm64intr.h
|
||||
. endif
|
||||
.elif ${MACHINE_CPU} == "mips" || ${MACHINE_CPU} == "mips64"
|
||||
INCS= msa.h
|
||||
.endif
|
||||
INCS+= stdatomic.h
|
||||
INCSDIR= /usr/include/clang-${CLANG_VERSION:R}
|
||||
.endif # MKLLVM
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/include/llvm/IR \
|
||||
|
||||
TABLEGEN_SRC= Attributes.td Intrinsics.td Options.td
|
||||
|
||||
TABLEGEN_OUTPUT.Attributes.td= \
|
||||
llvm/IR/Attributes.inc|-gen-attrs
|
||||
|
||||
TABLEGEN_OUTPUT.Intrinsics.td= \
|
||||
llvm/IR/IntrinsicEnums.inc|-gen-intrinsic-enums \
|
||||
llvm/IR/IntrinsicImpl.inc|-gen-intrinsic-impl
|
||||
|
||||
.if ${MKLLVM} != "no"
|
||||
.PATH: ${CLANG_SRCDIR}/include/clang/AST \
|
||||
${CLANG_SRCDIR}/include/clang/Basic \
|
||||
${CLANG_SRCDIR}/include/clang/Driver \
|
||||
${CLANG_SRCDIR}/include/clang/StaticAnalyzer/Checkers
|
||||
CLANG_TABLEGEN_SRC= \
|
||||
arm_fp16.td \
|
||||
arm_neon.td \
|
||||
arm_mve.td \
|
||||
Attr.td \
|
||||
Checkers.td \
|
||||
CommentCommands.td \
|
||||
CommentHTMLNamedCharacterReferences.td \
|
||||
CommentHTMLTags.td \
|
||||
CommentNodes.td \
|
||||
DeclNodes.td \
|
||||
Diagnostic.td \
|
||||
StmtDataCollectors.td \
|
||||
StmtNodes.td \
|
||||
TypeNodes.td
|
||||
|
||||
CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include
|
||||
CLANG_TABLEGEN_OUTPUT.Attr.td= \
|
||||
clang/AST/AttrImpl.inc|-gen-clang-attr-impl \
|
||||
clang/AST/AttrNodeTraverse.inc|-gen-clang-attr-node-traverse \
|
||||
clang/AST/AttrTextNodeDump.inc|-gen-clang-attr-text-node-dump \
|
||||
clang/AST/Attrs.inc|-gen-clang-attr-classes \
|
||||
clang/AST/AttrVisitor.inc|-gen-clang-attr-ast-visitor \
|
||||
clang/Basic/AttrHasAttributeImpl.inc|-gen-clang-attr-has-attribute-impl \
|
||||
clang/Basic/AttrList.inc|-gen-clang-attr-list \
|
||||
clang/Basic/AttrSubMatchRulesList.inc|-gen-clang-attr-subject-match-rule-list \
|
||||
clang/Parse/AttrParserStringSwitches.inc|-gen-clang-attr-parser-string-switches \
|
||||
clang/Parse/AttrSubMatchRulesParserStringSwitches.inc|-gen-clang-attr-subject-match-rules-parser-string-switches \
|
||||
clang/Sema/AttrParsedAttrImpl.inc|-gen-clang-attr-parsed-attr-impl \
|
||||
clang/Sema/AttrParsedAttrKinds.inc|-gen-clang-attr-parsed-attr-kinds \
|
||||
clang/Sema/AttrParsedAttrList.inc|-gen-clang-attr-parsed-attr-list \
|
||||
clang/Sema/AttrSpellingListIndex.inc|-gen-clang-attr-spelling-index \
|
||||
clang/Sema/AttrTemplateInstantiate.inc|-gen-clang-attr-template-instantiate \
|
||||
clang/Serialization/AttrPCHRead.inc|-gen-clang-attr-pch-read \
|
||||
clang/Serialization/AttrPCHWrite.inc|-gen-clang-attr-pch-write
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.StmtNodes.td= \
|
||||
clang/AST/StmtNodes.inc|-gen-clang-stmt-nodes
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.StmtDataCollectors.td= \
|
||||
clang/AST/StmtDataCollectors.inc|-gen-clang-data-collectors
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.DeclNodes.td= \
|
||||
clang/AST/DeclNodes.inc|-gen-clang-decl-nodes
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.CommentNodes.td= \
|
||||
clang/AST/CommentNodes.inc|-gen-clang-comment-nodes
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.CommentCommands.td= \
|
||||
clang/AST/CommentCommandInfo.inc|-gen-clang-comment-command-info \
|
||||
clang/AST/CommentCommandList.inc|-gen-clang-comment-command-list
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.CommentHTMLTags.td= \
|
||||
clang/AST/CommentHTMLTags.inc|-gen-clang-comment-html-tags \
|
||||
clang/AST/CommentHTMLTagsProperties.inc|-gen-clang-comment-html-tags-properties
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.CommentHTMLNamedCharacterReferences.td= \
|
||||
clang/AST/CommentHTMLNamedCharacterReferences.inc|-gen-clang-comment-html-named-character-references
|
||||
|
||||
CLANG_TABLEGEN_OUTPUT.TypeNodes.td= \
|
||||
clang/AST/TypeNodes.inc|-gen-clang-type-nodes
|
||||
|
||||
CLANG_TABLEGEN_INCLUDES.Diagnostic.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
||||
CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \
|
||||
clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
|
||||
clang/Basic/DiagnosticASTKinds.inc|-gen-clang-diags-defs^-clang-component=AST \
|
||||
clang/Basic/DiagnosticCommentKinds.inc|-gen-clang-diags-defs^-clang-component=Comment \
|
||||
clang/Basic/DiagnosticCommonKinds.inc|-gen-clang-diags-defs^-clang-component=Common \
|
||||
clang/Basic/DiagnosticCrossTUKinds.inc|-gen-clang-diags-defs^-clang-component=CrossTU \
|
||||
clang/Basic/DiagnosticDriverKinds.inc|-gen-clang-diags-defs^-clang-component=Driver \
|
||||
clang/Basic/DiagnosticFrontendKinds.inc|-gen-clang-diags-defs^-clang-component=Frontend \
|
||||
clang/Basic/DiagnosticGroups.inc|-gen-clang-diag-groups \
|
||||
clang/Basic/DiagnosticIndexName.inc|-gen-clang-diags-index-name \
|
||||
clang/Basic/DiagnosticLexKinds.inc|-gen-clang-diags-defs^-clang-component=Lex \
|
||||
clang/Basic/DiagnosticParseKinds.inc|-gen-clang-diags-defs^-clang-component=Parse \
|
||||
clang/Basic/DiagnosticRefactoringKinds.inc|-gen-clang-diags-defs^-clang-component=Refactoring \
|
||||
clang/Basic/DiagnosticSemaKinds.inc|-gen-clang-diags-defs^-clang-component=Sema \
|
||||
clang/Basic/DiagnosticSerializationKinds.inc|-gen-clang-diags-defs^-clang-component=Serialization
|
||||
|
||||
|
||||
CLANG_TABLEGEN_INCLUDES.arm_neon.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
||||
CLANG_TABLEGEN_OUTPUT.arm_neon.td= \
|
||||
clang/Basic/arm_neon.inc|-gen-arm-neon-sema \
|
||||
arm_neon.h|-gen-arm-neon
|
||||
|
||||
CLANG_TABLEGEN_INCLUDES.arm_fp16.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
||||
CLANG_TABLEGEN_OUTPUT.arm_fp16.td= \
|
||||
clang/Basic/arm_fp16.inc|-gen-arm-neon-sema
|
||||
CLANG_TABLEGEN_INCLUDES.arm_mve.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
||||
CLANG_TABLEGEN_OUTPUT.arm_mve.td= \
|
||||
clang/Basic/arm_mve_builtins.inc|-gen-arm-mve-builtin-def \
|
||||
clang/Basic/arm_mve_builtin_aliases.inc|-gen-arm-mve-builtin-aliases \
|
||||
clang/Basic/arm_mve_builtin_cg.inc|-gen-arm-mve-builtin-codegen \
|
||||
clang/Basic/arm_mve_builtin_sema.inc|-gen-arm-mve-builtin-sema \
|
||||
|
||||
CLANG_TABLEGEN_INCLUDES.Checkers.td= \
|
||||
-I${CLANG_SRCDIR}/include \
|
||||
-I${CLANG_SRCDIR}/include/clang/StaticAnalyzer/Checkers
|
||||
CLANG_TABLEGEN_OUTPUT.Checkers.td= \
|
||||
clang/StaticAnalyzer/Checkers/Checkers.inc|-gen-clang-sa-checkers
|
||||
|
||||
TABLEGEN_INCLUDES.Options.td= -I${CLANG_SRCDIR}/include/clang/Driver
|
||||
TABLEGEN_OUTPUT.Options.td= \
|
||||
clang/Driver/Options.inc|-gen-opt-parser-defs
|
||||
.endif # MKLLVM
|
||||
|
||||
.include "${.PARSEDIR}/../tablegen.mk"
|
||||
|
||||
DPSRCS+= llvm/Support/VCSRevision.h
|
||||
DPSRC+= llvm/Support/VCSRevision.h
|
||||
|
||||
llvm/Support/VCSRevision.h: ${LLVM_TOPLEVEL}/Makefile.inc
|
||||
mkdir -p ${.TARGET:H}
|
||||
printf '#define LLVM_REVISION "git-${LLVM_REVISION}"\n' >> ${.TARGET}.tmp
|
||||
mv ${.TARGET}.tmp ${.TARGET}
|
||||
|
||||
.if ${MKLLVM} != "no"
|
||||
DPSRCS+= clang/Basic/Version.inc
|
||||
CLEANFILES+= clang/Basic/Version.inc
|
||||
|
||||
clang/Basic/Version.inc: ${LLVM_TOPLEVEL}/Makefile.inc
|
||||
mkdir -p ${.TARGET:H}
|
||||
printf '#define CLANG_VERSION ${CLANG_VERSION}\n' > ${.TARGET}.tmp
|
||||
printf '#define CLANG_VERSION_STRING "${CLANG_VERSION}"\n' >> ${.TARGET}.tmp
|
||||
printf '#define CLANG_VERSION_MAJOR ${CLANG_VERSION:R:R}\n' >> ${.TARGET}.tmp
|
||||
printf '#define CLANG_VERSION_MINOR ${CLANG_VERSION:R:E}\n' >> ${.TARGET}.tmp
|
||||
printf '#define CLANG_VERSION_PATCHLEVEL ${CLANG_VERSION:R:R}\n' >> ${.TARGET}.tmp
|
||||
mv ${.TARGET}.tmp ${.TARGET}
|
||||
.endif # MKLLVM
|
||||
|
||||
.ifndef HOST_BUILD
|
||||
|
||||
DPSRCS+= llvm/Config/config.h llvm/Config/llvm-config.h
|
||||
CLEANFILES+= llvm/Config/config.h llvm/Config/llvm-config.h
|
||||
|
||||
NATIVE_LIBS= -lm -lexecinfo
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
||||
NATIVE_LLVM_ARCH= X86
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb"
|
||||
NATIVE_LLVM_ARCH= AArch64
|
||||
.endif
|
||||
|
||||
.if !empty(MACHINE_ARCH:Mearm*) || !empty(MACHINE_ARCH:Marm*)
|
||||
NATIVE_LLVM_ARCH= ARM
|
||||
.endif
|
||||
|
||||
.if !empty(MACHINE_ARCH:Mmips*)
|
||||
NATIVE_LLVM_ARCH= Mips
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
|
||||
NATIVE_LLVM_ARCH= PowerPC
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
|
||||
NATIVE_LLVM_ARCH= Sparc
|
||||
.endif
|
||||
|
||||
.if defined(NATIVE_LLVM_ARCH)
|
||||
NATIVE_LLVM_ASMPARSER= LLVMInitialize${NATIVE_LLVM_ARCH}AsmParser
|
||||
NATIVE_LLVM_ASMPRINTER= LLVMInitialize${NATIVE_LLVM_ARCH}AsmPrinter
|
||||
NATIVE_LLVM_DISASSEMBLER= LLVMInitialize${NATIVE_LLVM_ARCH}Disassembler
|
||||
NATIVE_LLVM_TARGET= LLVMInitialize${NATIVE_LLVM_ARCH}Target
|
||||
NATIVE_LLVM_TARGETINFO= LLVMInitialize${NATIVE_LLVM_ARCH}TargetInfo
|
||||
NATIVE_LLVM_TARGETMC= LLVMInitialize${NATIVE_LLVM_ARCH}TargetMC
|
||||
.endif
|
||||
|
||||
llvm/Config/config.h: ${LLVM_TOPLEVEL}/Makefile.inc ${LLVM_TOPLEVEL}/config/llvm/Config/config.h.in
|
||||
mkdir -p ${.TARGET:H}
|
||||
${TOOL_SED} -e /LLVM_DEFAULT_TARGET_TRIPLE/d \
|
||||
-e /LLVM_HOST_TRIPLE/d \
|
||||
-e /LLVM_NATIVE_/d \
|
||||
-e /LLVM_VERSION_/d \
|
||||
-e /PACKAGE_VERSION/d -e 'x' \
|
||||
< ${LLVM_TOPLEVEL}/config/llvm/Config/config.h.in \
|
||||
> ${.TARGET}.tmp
|
||||
printf '#define LLVM_DEFAULT_TARGET_TRIPLE "${MACHINE_GNU_PLATFORM}"\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_HOST_TRIPLE "${MACHINE_GNU_PLATFORM}"\n' >> ${.TARGET}.tmp
|
||||
.if defined(NATIVE_LLVM_ARCH)
|
||||
printf '#define LLVM_NATIVE_ARCH ${NATIVE_LLVM_ARCH}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_ASMPARSER ${NATIVE_LLVM_ASMPARSER}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_ASMPRINTER ${NATIVE_LLVM_ASMPRINTER}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_DISASSEMBLER ${NATIVE_LLVM_DISASSEMBLER}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_TARGET ${NATIVE_LLVM_TARGET}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_TARGETINFO ${NATIVE_LLVM_TARGETINFO}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_TARGETMC ${NATIVE_LLVM_TARGETMC}\n' >> ${.TARGET}.tmp
|
||||
.endif
|
||||
printf '#define PACKAGE_VERSION "${LLVM_VERSION} (trunk ${LLVM_REVISION})"\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_MAJOR ${LLVM_VERSION:R:R}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_MINOR ${LLVM_VERSION:R:E}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_PATCH ${LLVM_VERSION:E}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_STRING "${LLVM_VERSION}"\n' >> ${.TARGET}.tmp
|
||||
printf '#endif\n' >> ${.TARGET}.tmp
|
||||
mv ${.TARGET}.tmp ${.TARGET}
|
||||
|
||||
llvm/Config/llvm-config.h: ${LLVM_TOPLEVEL}/Makefile.inc ${LLVM_TOPLEVEL}/config/llvm/Config/llvm-config.h.in
|
||||
mkdir -p ${.TARGET:H}
|
||||
${TOOL_SED} -e /LLVM_DEFAULT_TARGET_TRIPLE/d \
|
||||
-e /LLVM_HOST_TRIPLE/d \
|
||||
-e /LLVM_NATIVE_/d \
|
||||
-e /LLVM_VERSION_/d \
|
||||
-e /PACKAGE_VERSION/d -e 'x' \
|
||||
< ${LLVM_TOPLEVEL}/config/llvm/Config/llvm-config.h.in \
|
||||
> ${.TARGET}.tmp
|
||||
printf '#define LLVM_DEFAULT_TARGET_TRIPLE "${MACHINE_GNU_PLATFORM}"\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_HOST_TRIPLE "${MACHINE_GNU_PLATFORM}"\n' >> ${.TARGET}.tmp
|
||||
.if defined(NATIVE_LLVM_ARCH)
|
||||
printf '#define LLVM_NATIVE_ARCH ${NATIVE_LLVM_ARCH}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_ASMPARSER ${NATIVE_LLVM_ASMPARSER}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_ASMPRINTER ${NATIVE_LLVM_ASMPRINTER}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_DISASSEMBLER ${NATIVE_LLVM_DISASSEMBLER}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_TARGET ${NATIVE_LLVM_TARGET}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_TARGETINFO ${NATIVE_LLVM_TARGETINFO}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_NATIVE_TARGETMC ${NATIVE_LLVM_TARGETMC}\n' >> ${.TARGET}.tmp
|
||||
.endif
|
||||
printf '#define LLVM_VERSION_MAJOR ${LLVM_VERSION:R:R}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_MINOR ${LLVM_VERSION:R:E}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_PATCH ${LLVM_VERSION:E}\n' >> ${.TARGET}.tmp
|
||||
printf '#define LLVM_VERSION_STRING "${LLVM_VERSION}"\n' >> ${.TARGET}.tmp
|
||||
printf '#endif\n' >> ${.TARGET}.tmp
|
||||
mv ${.TARGET}.tmp ${.TARGET}
|
||||
|
||||
run-configure:
|
||||
[ ! -d tmp ] || rm -r tmp
|
||||
mkdir -p tmp
|
||||
cd tmp && CONFIG_SITE= ${CONFIG_DIR}/configure ${LLVM_CONFIGURE_ARGS} \
|
||||
CC=${CC:Q} CFLAGS=${CFLAGS:N-Werror:Q} CXX=${CXX:Q} CXXFLAGS=${CXXFLAGS:N-Werror:Q} \
|
||||
CPPFLAGS=${CPPFLAGS:N-std=c++11:Q} LDFLAGS=${LDFLAGS:Q} LD=${LD:Q} LIBS=${NATIVE_LIBS:Q} \
|
||||
BUILD_CC=${CC:Q} BUILD_CXX=${CXX:Q}
|
||||
cp -r tmp/include/llvm/* ${LLVM_INCLUDE_CONFIG}/llvm/
|
||||
mv ${LLVM_INCLUDE_CONFIG}/llvm/Config/llvm-config.h \
|
||||
${LLVM_INCLUDE_CONFIG}/llvm/Config/llvm-config.h.in
|
||||
cp -r tmp/include/clang/* ${CLANG_INCLUDE_CONFIG}/clang/
|
||||
rm -r tmp
|
||||
mv ${LLVM_INCLUDE_CONFIG}/llvm/Config/config.h \
|
||||
${LLVM_INCLUDE_CONFIG}/llvm/Config/config.h.in
|
||||
.endif
|
||||
|
||||
includes depend dependall all: ${DPSRCS}
|
||||
|
||||
.include <bsd.prog.mk>
|
3
external/apache2/llvm/include/Makefile.inc
vendored
Normal file
3
external/apache2/llvm/include/Makefile.inc
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2019/11/11 22:45:02 joerg Exp $
|
||||
|
||||
.include "${.PARSEDIR}/../Makefile.inc"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user