Module Name: src Committed By: joerg Date: Sun Jul 7 21:36:44 UTC 2013
Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/bin: Makefile src/external/bsd/llvm/bin/clang: Makefile src/external/bsd/llvm/bin/clang-format: Makefile src/external/bsd/llvm/bin/clang-tblgen: Makefile src/external/bsd/llvm/bin/llc: Makefile src/external/bsd/llvm/bin/lli: Makefile src/external/bsd/llvm/bin/llvm-ar: Makefile src/external/bsd/llvm/bin/llvm-dwarfdump: Makefile src/external/bsd/llvm/bin/llvm-mc: Makefile src/external/bsd/llvm/bin/llvm-nm: Makefile src/external/bsd/llvm/bin/llvm-objdump: Makefile src/external/bsd/llvm/bin/llvm-readobj: Makefile src/external/bsd/llvm/bin/llvm-symbolizer: Makefile src/external/bsd/llvm/config/clang/Config: config.h src/external/bsd/llvm/config/llvm/Config: AsmParsers.def config.h.in llvm-config.h.in src/external/bsd/llvm/config/llvm/Support: DataTypes.h src/external/bsd/llvm/include: Makefile src/external/bsd/llvm/lib: Makefile src/external/bsd/llvm/lib/libLLVMDebugInfo: Makefile src/external/bsd/llvm/lib/libLLVMMipsCodeGen: Makefile src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc: Makefile src/external/bsd/llvm/lib/libLLVMObject: Makefile src/external/bsd/llvm/lib/libLLVMScalarOpts: Makefile src/external/bsd/llvm/lib/libLLVMSparcCodeGen: Makefile src/external/bsd/llvm/lib/libLLVMSupport: Makefile src/external/bsd/llvm/lib/libLLVMVectorize: Makefile src/external/bsd/llvm/lib/libclangAST: Makefile src/external/bsd/llvm/lib/libclangCodeGen: Makefile src/external/bsd/llvm/lib/libclangDriver: Makefile src/external/bsd/llvm/lib/libclangSema: Makefile Added Files: src/tools/llvm-lib/libLLVMOption: Makefile Log Message: Update LLVM/Clang to snapshot r185778. This brings in a lot of work on integrated-assembler support on PowerPC as well as support for compressed DWARF sections in some tools. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/external/bsd/llvm/Makefile.inc cvs rdiff -u -r1.9 -r1.10 src/external/bsd/llvm/bin/Makefile cvs rdiff -u -r1.26 -r1.27 src/external/bsd/llvm/bin/clang/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/clang-format/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/bin/clang-tblgen/Makefile cvs rdiff -u -r1.16 -r1.17 src/external/bsd/llvm/bin/llc/Makefile cvs rdiff -u -r1.9 -r1.10 src/external/bsd/llvm/bin/lli/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/bin/llvm-ar/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile cvs rdiff -u -r1.16 -r1.17 src/external/bsd/llvm/bin/llvm-mc/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/bin/llvm-nm/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/bin/llvm-objdump/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/bin/llvm-readobj/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/bin/llvm-symbolizer/Makefile cvs rdiff -u -r1.7 -r1.8 src/external/bsd/llvm/config/clang/Config/config.h cvs rdiff -u -r1.5 -r1.6 \ src/external/bsd/llvm/config/llvm/Config/AsmParsers.def cvs rdiff -u -r1.6 -r1.7 src/external/bsd/llvm/config/llvm/Config/config.h.in cvs rdiff -u -r1.4 -r1.5 \ src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/llvm/config/llvm/Support/DataTypes.h cvs rdiff -u -r1.19 -r1.20 src/external/bsd/llvm/include/Makefile cvs rdiff -u -r1.31 -r1.32 src/external/bsd/llvm/lib/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/llvm/lib/libLLVMDebugInfo/Makefile cvs rdiff -u -r1.18 -r1.19 \ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile cvs rdiff -u -r1.5 -r1.6 \ src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile cvs rdiff -u -r1.6 -r1.7 src/external/bsd/llvm/lib/libLLVMObject/Makefile cvs rdiff -u -r1.9 -r1.10 \ src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile cvs rdiff -u -r1.18 -r1.19 src/external/bsd/llvm/lib/libLLVMSupport/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/lib/libLLVMVectorize/Makefile cvs rdiff -u -r1.10 -r1.11 src/external/bsd/llvm/lib/libclangAST/Makefile cvs rdiff -u -r1.5 -r1.6 src/external/bsd/llvm/lib/libclangCodeGen/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/llvm/lib/libclangDriver/Makefile cvs rdiff -u -r1.12 -r1.13 src/external/bsd/llvm/lib/libclangSema/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libLLVMOption/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/llvm/Makefile.inc diff -u src/external/bsd/llvm/Makefile.inc:1.52 src/external/bsd/llvm/Makefile.inc:1.53 --- src/external/bsd/llvm/Makefile.inc:1.52 Tue May 28 17:37:33 2013 +++ src/external/bsd/llvm/Makefile.inc Sun Jul 7 21:36:42 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.52 2013/05/28 17:37:33 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.53 2013/07/07 21:36:42 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= @@ -7,7 +7,7 @@ LLVM_TOPLEVEL_MK= SVN_ROOT= http://llvm.org/svn/llvm-project -COMMON_REVISION= 182734 +COMMON_REVISION= 185778 LLVM_REVISION= ${COMMON_REVISION} CLANG_REVISION= ${COMMON_REVISION} COMPILER_RT_REVISION= ${COMMON_REVISION} Index: src/external/bsd/llvm/bin/Makefile diff -u src/external/bsd/llvm/bin/Makefile:1.9 src/external/bsd/llvm/bin/Makefile:1.10 --- src/external/bsd/llvm/bin/Makefile:1.9 Sun Mar 24 13:02:16 2013 +++ src/external/bsd/llvm/bin/Makefile Sun Jul 7 21:36:42 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/03/24 13:02:16 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2013/07/07 21:36:42 joerg Exp $ .include <bsd.own.mk> @@ -30,7 +30,6 @@ SUBDIR+= \ llvm-nm \ llvm-objdump \ llvm-prof \ - llvm-ranlib \ llvm-readobj \ llvm-size \ llvm-symbolizer \ Index: src/external/bsd/llvm/bin/clang/Makefile diff -u src/external/bsd/llvm/bin/clang/Makefile:1.26 src/external/bsd/llvm/bin/clang/Makefile:1.27 --- src/external/bsd/llvm/bin/clang/Makefile:1.26 Tue May 28 17:37:33 2013 +++ src/external/bsd/llvm/bin/clang/Makefile Sun Jul 7 21:36:42 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2013/05/28 17:37:33 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2013/07/07 21:36:42 joerg Exp $ PROG_CXX= clang NOMAN= yes @@ -90,6 +90,7 @@ LLVM_LIBS+= \ TransformsUtils \ ipa \ IR \ + Option \ Support .include "${.PARSEDIR}/../../link.mk" Index: src/external/bsd/llvm/bin/clang-format/Makefile diff -u src/external/bsd/llvm/bin/clang-format/Makefile:1.1 src/external/bsd/llvm/bin/clang-format/Makefile:1.2 --- src/external/bsd/llvm/bin/clang-format/Makefile:1.1 Sun Mar 24 13:02:17 2013 +++ src/external/bsd/llvm/bin/clang-format/Makefile Sun Jul 7 21:36:42 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/03/24 13:02:17 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/07/07 21:36:42 joerg Exp $ PROG_CXX= clang-format NOMAN= yes @@ -29,6 +29,7 @@ LLVM_LIBS+= \ BitReader \ MCParser \ MC \ + Option \ Support .include "${.PARSEDIR}/../../link.mk" Index: src/external/bsd/llvm/bin/clang-tblgen/Makefile diff -u src/external/bsd/llvm/bin/clang-tblgen/Makefile:1.3 src/external/bsd/llvm/bin/clang-tblgen/Makefile:1.4 --- src/external/bsd/llvm/bin/clang-tblgen/Makefile:1.3 Mon Feb 4 15:00:32 2013 +++ src/external/bsd/llvm/bin/clang-tblgen/Makefile Sun Jul 7 21:36:42 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2013/02/04 15:00:32 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2013/07/07 21:36:42 joerg Exp $ PROG_CXX= clang-tblgen NOMAN= yes @@ -15,7 +15,6 @@ SRCS= ClangASTNodesEmitter.cpp \ ClangDiagnosticsEmitter.cpp \ ClangSACheckersEmitter.cpp \ NeonEmitter.cpp \ - OptParserEmitter.cpp \ TableGen.cpp LLVM_LIBS+= \ Index: src/external/bsd/llvm/bin/llc/Makefile diff -u src/external/bsd/llvm/bin/llc/Makefile:1.16 src/external/bsd/llvm/bin/llc/Makefile:1.17 --- src/external/bsd/llvm/bin/llc/Makefile:1.16 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/bin/llc/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2013/05/28 17:37:34 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llc NOMAN= yes @@ -33,6 +33,7 @@ LLVM_LIBS+= \ PowerPCCodeGen \ PowerPCTargetInfo \ PowerPCMCTargetDesc \ + PowerPCAsmParser \ PowerPCAsmPrinter \ SparcCodeGen \ SparcTargetInfo \ Index: src/external/bsd/llvm/bin/lli/Makefile diff -u src/external/bsd/llvm/bin/lli/Makefile:1.9 src/external/bsd/llvm/bin/lli/Makefile:1.10 --- src/external/bsd/llvm/bin/lli/Makefile:1.9 Thu Apr 25 13:59:55 2013 +++ src/external/bsd/llvm/bin/lli/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/04/25 13:59:55 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= lli NOMAN= yes @@ -25,6 +25,7 @@ LLVM_LIBS+= \ JIT \ MCJIT \ RuntimeDyld \ + Instrumentation \ Interpreter \ ExecutionEngine \ Object \ Index: src/external/bsd/llvm/bin/llvm-ar/Makefile diff -u src/external/bsd/llvm/bin/llvm-ar/Makefile:1.2 src/external/bsd/llvm/bin/llvm-ar/Makefile:1.3 --- src/external/bsd/llvm/bin/llvm-ar/Makefile:1.2 Wed Jan 23 15:02:54 2013 +++ src/external/bsd/llvm/bin/llvm-ar/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:54 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-ar NOMAN= yes @@ -7,10 +7,12 @@ NOMAN= yes .PATH: ${LLVM_SRCDIR}/tools/llvm-ar -SRCS= llvm-ar.cpp +SRCS= llvm-ar.cpp \ + Archive.cpp \ + ArchiveReader.cpp \ + ArchiveWriter.cpp LLVM_LIBS+= \ - Archive \ BitReader \ IR \ Support Index: src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile diff -u src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile:1.1 src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile:1.2 --- src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile:1.1 Tue Oct 11 13:53:57 2011 +++ src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/10/11 13:53:57 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-dwarfdump NOMAN= yes @@ -14,6 +14,9 @@ LLVM_LIBS+= \ Object \ Support +LDADD+= -lz +DPADD+= ${LIBZ} + .include "${.PARSEDIR}/../../link.mk" .include <bsd.prog.mk> Index: src/external/bsd/llvm/bin/llvm-mc/Makefile diff -u src/external/bsd/llvm/bin/llvm-mc/Makefile:1.16 src/external/bsd/llvm/bin/llvm-mc/Makefile:1.17 --- src/external/bsd/llvm/bin/llvm-mc/Makefile:1.16 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/bin/llvm-mc/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2013/05/28 17:37:34 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-mc NOMAN= yes @@ -32,6 +32,7 @@ LLVM_LIBS+= \ MipsMCTargetDesc \ MipsAsmPrinter \ PowerPCCodeGen \ + PowerPCAsmParser \ PowerPCTargetInfo \ PowerPCMCTargetDesc \ PowerPCAsmPrinter \ Index: src/external/bsd/llvm/bin/llvm-nm/Makefile diff -u src/external/bsd/llvm/bin/llvm-nm/Makefile:1.2 src/external/bsd/llvm/bin/llvm-nm/Makefile:1.3 --- src/external/bsd/llvm/bin/llvm-nm/Makefile:1.2 Wed Jan 23 15:02:56 2013 +++ src/external/bsd/llvm/bin/llvm-nm/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/01/23 15:02:56 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-nm NOMAN= yes @@ -10,7 +10,6 @@ NOMAN= yes SRCS= llvm-nm.cpp LLVM_LIBS+= \ - Archive \ BitReader \ IR \ Object \ Index: src/external/bsd/llvm/bin/llvm-objdump/Makefile diff -u src/external/bsd/llvm/bin/llvm-objdump/Makefile:1.4 src/external/bsd/llvm/bin/llvm-objdump/Makefile:1.5 --- src/external/bsd/llvm/bin/llvm-objdump/Makefile:1.4 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/bin/llvm-objdump/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2013/05/28 17:37:34 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-objdump NOMAN= yes @@ -30,6 +30,7 @@ LLVM_LIBS+= \ MipsMCTargetDesc \ MipsAsmPrinter \ MipsAsmParser \ + PowerPCAsmParser \ PowerPCTargetInfo \ PowerPCMCTargetDesc \ PowerPCAsmPrinter \ @@ -47,6 +48,9 @@ LLVM_LIBS+= \ IR \ Support +LDADD+= -lz +DPADD+= ${LIBZ} + .include "${.PARSEDIR}/../../link.mk" .include <bsd.prog.mk> Index: src/external/bsd/llvm/bin/llvm-readobj/Makefile diff -u src/external/bsd/llvm/bin/llvm-readobj/Makefile:1.4 src/external/bsd/llvm/bin/llvm-readobj/Makefile:1.5 --- src/external/bsd/llvm/bin/llvm-readobj/Makefile:1.4 Thu Apr 25 13:59:56 2013 +++ src/external/bsd/llvm/bin/llvm-readobj/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2013/04/25 13:59:56 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-readobj NOMAN= yes @@ -23,7 +23,6 @@ LLVM_LIBS+= \ SparcTargetInfo \ X86TargetInfo \ MC \ - Archive \ BitReader \ Object \ IR \ Index: src/external/bsd/llvm/bin/llvm-symbolizer/Makefile diff -u src/external/bsd/llvm/bin/llvm-symbolizer/Makefile:1.2 src/external/bsd/llvm/bin/llvm-symbolizer/Makefile:1.3 --- src/external/bsd/llvm/bin/llvm-symbolizer/Makefile:1.2 Mon Feb 4 15:00:32 2013 +++ src/external/bsd/llvm/bin/llvm-symbolizer/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/02/04 15:00:32 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/07/07 21:36:43 joerg Exp $ PROG_CXX= llvm-symbolizer NOMAN= yes @@ -15,6 +15,9 @@ LLVM_LIBS+= \ Object \ Support +LDADD+= -lz +DPADD+= ${LIBZ} + .include "${.PARSEDIR}/../../link.mk" .include <bsd.prog.mk> Index: src/external/bsd/llvm/config/clang/Config/config.h diff -u src/external/bsd/llvm/config/clang/Config/config.h:1.7 src/external/bsd/llvm/config/clang/Config/config.h:1.8 --- src/external/bsd/llvm/config/clang/Config/config.h:1.7 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/config/clang/Config/config.h Sun Jul 7 21:36:43 2013 @@ -14,7 +14,7 @@ #define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include" /* Linker version detected at compile time. */ -#define HOST_LINK_VERSION "1" +#define HOST_LINK_VERSION "2.23.2" /* Default <path> to all compiler invocations for --sysroot=<path>. */ #define DEFAULT_SYSROOT "" Index: src/external/bsd/llvm/config/llvm/Config/AsmParsers.def diff -u src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.5 src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.6 --- src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.5 Mon Feb 4 15:00:33 2013 +++ src/external/bsd/llvm/config/llvm/Config/AsmParsers.def Sun Jul 7 21:36:43 2013 @@ -24,6 +24,6 @@ # error Please define the macro LLVM_ASM_PARSER(TargetName) #endif -LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) +LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(PowerPC) LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) #undef LLVM_ASM_PARSER Index: src/external/bsd/llvm/config/llvm/Config/config.h.in diff -u src/external/bsd/llvm/config/llvm/Config/config.h.in:1.6 src/external/bsd/llvm/config/llvm/Config/config.h.in:1.7 --- src/external/bsd/llvm/config/llvm/Config/config.h.in:1.6 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/config/llvm/Config/config.h.in Sun Jul 7 21:36:43 2013 @@ -79,6 +79,9 @@ /* Define to 1 if you have the <ctype.h> header file. */ #define HAVE_CTYPE_H 1 +/* Define to 1 if you have the <cxxabi.h> header file. */ +/* #undef HAVE_CXXABI_H */ + /* 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 @@ -144,7 +147,9 @@ /* #undef HAVE_FDP */ /* Define to 1 if you have the <fenv.h> header file. */ + #ifndef __ppc__ #define HAVE_FENV_H 1 + #endif /* Define if libffi is available on this platform. */ /* #undef HAVE_FFI_CALL */ @@ -164,6 +169,12 @@ /* Define to 1 if you have the `fmodf' function. */ #define HAVE_FMODF 1 +/* 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 @@ -198,13 +209,13 @@ #define HAVE_ISATTY 1 /* Set to 1 if the isinf function is found in <cmath> */ -/* #undef HAVE_ISINF_IN_CMATH */ +#define HAVE_ISINF_IN_CMATH 1 /* Set to 1 if the isinf function is found in <math.h> */ #define HAVE_ISINF_IN_MATH_H 1 /* Set to 1 if the isnan function is found in <cmath> */ -/* #undef HAVE_ISNAN_IN_CMATH */ +#define HAVE_ISNAN_IN_CMATH 1 /* Set to 1 if the isnan function is found in <math.h> */ #define HAVE_ISNAN_IN_MATH_H 1 @@ -582,6 +593,9 @@ /* Define if threads enabled */ #define LLVM_ENABLE_THREADS 1 +/* Define if zlib is enabled */ +#define LLVM_ENABLE_ZLIB 1 + /* Installation directory for config files */ #define LLVM_ETCDIR "/usr/etc/llvm" @@ -597,9 +611,6 @@ /* Installation directory for .info files */ #define LLVM_INFODIR "/usr/info" -/* Installation directory for libraries */ -#define LLVM_LIBDIR "/usr/lib" - /* Installation directory for man pages */ #define LLVM_MANDIR "/usr/man" @@ -679,10 +690,6 @@ */ #define LTDL_OBJDIR ".libs/" -/* Define to the name of the environment variable that determines the dynamic - library search path. */ -#define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH" - /* Define to the extension used for shared libraries, say, ".so". */ #define LTDL_SHLIB_EXT ".so" Index: src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in diff -u src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in:1.4 src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in:1.5 --- src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in:1.4 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in Sun Jul 7 21:36:43 2013 @@ -50,9 +50,6 @@ /* Installation directory for .info files */ #define LLVM_INFODIR "/usr/info" -/* Installation directory for libraries */ -#define LLVM_LIBDIR "/usr/lib" - /* Installation directory for man pages */ #define LLVM_MANDIR "/usr/man" Index: src/external/bsd/llvm/config/llvm/Support/DataTypes.h diff -u src/external/bsd/llvm/config/llvm/Support/DataTypes.h:1.3 src/external/bsd/llvm/config/llvm/Support/DataTypes.h:1.4 --- src/external/bsd/llvm/config/llvm/Support/DataTypes.h:1.3 Sun Sep 23 17:22:23 2012 +++ src/external/bsd/llvm/config/llvm/Support/DataTypes.h Sun Jul 7 21:36:43 2013 @@ -99,7 +99,12 @@ typedef short int16_t; typedef unsigned short uint16_t; typedef signed char int8_t; typedef unsigned char uint8_t; -typedef signed int ssize_t; +#if defined(_WIN64) + typedef signed __int64 ssize_t; +#else + typedef signed long ssize_t; +#endif + #ifndef INT8_MAX # define INT8_MAX 127 #endif Index: src/external/bsd/llvm/include/Makefile diff -u src/external/bsd/llvm/include/Makefile:1.19 src/external/bsd/llvm/include/Makefile:1.20 --- src/external/bsd/llvm/include/Makefile:1.19 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/include/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2013/05/28 17:37:34 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2013/07/07 21:36:43 joerg Exp $ .include <bsd.init.mk> @@ -53,15 +53,14 @@ HEADER= \ ${CLANG_SRCDIR}/include/clang/Basic \ ${CLANG_SRCDIR}/include/clang/Driver -TABLEGEN_SRC= Intrinsics.td +TABLEGEN_SRC= Intrinsics.td Options.td CC1AsOptions.td TABLEGEN_OUTPUT.Intrinsics.td= \ llvm/IR/Intrinsics.gen|-gen-intrinsic CLANG_TABLEGEN_SRC= Attr.td CommentCommands.td CommentHTMLTags.td \ CommentNodes.td CommentHTMLNamedCharacterReferences.td DeclNodes.td \ - StmtNodes.td Diagnostic.td arm_neon.td Options.td \ - CC1AsOptions.td CC1Options.td + StmtNodes.td Diagnostic.td arm_neon.td CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include CLANG_TABLEGEN_OUTPUT.Attr.td= \ @@ -118,12 +117,12 @@ CLANG_TABLEGEN_OUTPUT.arm_neon.td= \ clang/Basic/arm_neon.inc|-gen-arm-neon-sema \ arm_neon.h.inc|-gen-arm-neon -CLANG_TABLEGEN_INCLUDES.Options.td= -I${CLANG_SRCDIR}/include/clang/Driver -CLANG_TABLEGEN_OUTPUT.Options.td= \ +TABLEGEN_INCLUDES.Options.td= -I${CLANG_SRCDIR}/include/clang/Driver +TABLEGEN_OUTPUT.Options.td= \ clang/Driver/Options.inc|-gen-opt-parser-defs -CLANG_TABLEGEN_INCLUDES.CC1AsOptions.td= -I${CLANG_SRCDIR}/include/clang/Driver -CLANG_TABLEGEN_OUTPUT.CC1AsOptions.td= \ +TABLEGEN_INCLUDES.CC1AsOptions.td= -I${CLANG_SRCDIR}/include/clang/Driver +TABLEGEN_OUTPUT.CC1AsOptions.td= \ clang/Driver/CC1AsOptions.inc|-gen-opt-parser-defs .include "${.PARSEDIR}/../tablegen.mk" @@ -147,7 +146,7 @@ llvm/Config/config.h: ${LLVM_TOPLEVEL}/M mkdir -p ${.TARGET:H} ${TOOL_SED} -e /LLVM_DEFAULT_TARGET_TRIPLE/d -e /LLVM_NATIVE_/d \ -e /LLVM_VERSION_/d -e /PACKAGE_VERSION/d \ - -e /\#endif/d \ + -e /^\#endif/d \ < ${LLVM_TOPLEVEL}/config/llvm/Config/config.h.in \ > ${.TARGET}.tmp printf '#define LLVM_DEFAULT_TARGET_TRIPLE "${MACHINE_GNU_PLATFORM}"\n' >> ${.TARGET}.tmp Index: src/external/bsd/llvm/lib/Makefile diff -u src/external/bsd/llvm/lib/Makefile:1.31 src/external/bsd/llvm/lib/Makefile:1.32 --- src/external/bsd/llvm/lib/Makefile:1.31 Tue May 28 17:37:34 2013 +++ src/external/bsd/llvm/lib/Makefile Sun Jul 7 21:36:43 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2013/05/28 17:37:34 joerg Exp $ +# $NetBSD: Makefile,v 1.32 2013/07/07 21:36:43 joerg Exp $ .include <bsd.own.mk> @@ -21,6 +21,7 @@ SUBDIR= \ libLLVMMCParser \ libLLVMObjCARC \ libLLVMObject \ + libLLVMOption \ libLLVMScalarOpts \ libLLVMSelectionDAG \ libLLVMSupport \ @@ -79,7 +80,6 @@ SUBDIR+= \ .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes" SUBDIR+= \ - libLLVMArchive \ libLLVMDebugInfo \ libLLVMCppBackend \ libLLVMCppBackendInfo \ @@ -88,7 +88,6 @@ SUBDIR+= \ libLLVMInterpreter \ libLLVMJIT \ libLLVMMCJIT \ - libLLVMOption \ libLLVMRuntimeDyld .endif Index: src/external/bsd/llvm/lib/libLLVMDebugInfo/Makefile diff -u src/external/bsd/llvm/lib/libLLVMDebugInfo/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMDebugInfo/Makefile:1.4 --- src/external/bsd/llvm/lib/libLLVMDebugInfo/Makefile:1.3 Tue Feb 19 12:35:43 2013 +++ src/external/bsd/llvm/lib/libLLVMDebugInfo/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2013/02/19 12:35:43 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMDebugInfo @@ -16,6 +16,7 @@ SRCS+= DIContext.cpp \ DWARFDebugFrame.cpp \ DWARFDebugInfoEntry.cpp \ DWARFDebugLine.cpp \ + DWARFDebugLoc.cpp \ DWARFDebugRangeList.cpp \ DWARFFormValue.cpp Index: src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.18 src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.19 --- src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile:1.18 Tue May 28 17:37:35 2013 +++ src/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2013/05/28 17:37:35 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMMipsCodeGen @@ -26,6 +26,7 @@ SRCS+= Mips16ISelDAGToDAG.cpp \ MipsMachineFunction.cpp \ MipsModuleISelDAGToDAG.cpp \ MipsMCInstLower.cpp \ + MipsOptimizeMathLibCalls.cpp \ MipsOs16.cpp \ MipsRegisterInfo.cpp \ MipsSEISelLowering.cpp \ Index: src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile diff -u src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile:1.5 src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile:1.6 --- src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile:1.5 Mon Feb 4 15:00:34 2013 +++ src/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2013/02/04 15:00:34 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMMipsMCTargetDesc @@ -10,7 +10,6 @@ CPPFLAGS+= -I${MIPS_OBJDIR} -I${LLVM_SRC .PATH: ${LLVM_SRCDIR}/lib/Target/Mips/MCTargetDesc SRCS+= MipsAsmBackend.cpp \ - MipsDirectObjLower.cpp \ MipsELFObjectWriter.cpp \ MipsELFStreamer.cpp \ MipsMCAsmInfo.cpp \ Index: src/external/bsd/llvm/lib/libLLVMObject/Makefile diff -u src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.6 src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.7 --- src/external/bsd/llvm/lib/libLLVMObject/Makefile:1.6 Tue May 28 17:37:35 2013 +++ src/external/bsd/llvm/lib/libLLVMObject/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2013/05/28 17:37:35 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMObject NOGCCERROR= yes @@ -12,10 +12,13 @@ SRCS+= Archive.cpp \ COFFObjectFile.cpp \ COFFYAML.cpp \ ELFObjectFile.cpp \ + ELFYAML.cpp \ Error.cpp \ MachOObjectFile.cpp \ + MachOUniversal.cpp \ Object.cpp \ - ObjectFile.cpp + ObjectFile.cpp \ + YAML.cpp .if defined(HOSTLIB) .include <bsd.hostlib.mk> Index: src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile diff -u src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.9 src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.10 --- src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile:1.9 Mon Feb 4 15:00:35 2013 +++ src/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/02/04 15:00:35 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMScalarOpts @@ -35,8 +35,8 @@ SRCS+= ADCE.cpp \ Scalar.cpp \ ScalarReplAggregates.cpp \ SimplifyCFGPass.cpp \ - SimplifyLibCalls.cpp \ Sink.cpp \ + StructurizeCFG.cpp \ TailRecursionElimination.cpp .if defined(HOSTLIB) Index: src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile diff -u src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile:1.3 src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile:1.4 --- src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile:1.3 Wed Jan 11 23:24:48 2012 +++ src/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/01/11 23:24:48 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMSparcCodeGen @@ -7,7 +7,6 @@ LIB= LLVMSparcCodeGen .PATH: ${LLVM_SRCDIR}/lib/Target/Sparc SRCS+= DelaySlotFiller.cpp \ - FPMover.cpp \ SparcAsmPrinter.cpp \ SparcInstrInfo.cpp \ SparcISelDAGToDAG.cpp \ Index: src/external/bsd/llvm/lib/libLLVMSupport/Makefile diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.18 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.19 --- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.18 Tue May 28 17:37:35 2013 +++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2013/05/28 17:37:35 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMSupport @@ -84,7 +84,6 @@ SRCS+= Atomic.cpp \ Memory.cpp \ Mutex.cpp \ Path.cpp \ - PathV2.cpp \ Process.cpp \ Program.cpp \ RWMutex.cpp \ @@ -102,7 +101,6 @@ SRCS+= Host.inc \ Memory.inc \ Mutex.inc \ Path.inc \ - PathV2.inc \ Process.inc \ Program.inc \ RWMutex.inc \ Index: src/external/bsd/llvm/lib/libLLVMVectorize/Makefile diff -u src/external/bsd/llvm/lib/libLLVMVectorize/Makefile:1.4 src/external/bsd/llvm/lib/libLLVMVectorize/Makefile:1.5 --- src/external/bsd/llvm/lib/libLLVMVectorize/Makefile:1.4 Thu Apr 25 13:59:57 2013 +++ src/external/bsd/llvm/lib/libLLVMVectorize/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2013/04/25 13:59:57 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/07/07 21:36:44 joerg Exp $ LIB= LLVMVectorize @@ -9,7 +9,6 @@ LIB= LLVMVectorize SRCS+= BBVectorize.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp \ - VecUtils.cpp \ Vectorize.cpp .if defined(HOSTLIB) Index: src/external/bsd/llvm/lib/libclangAST/Makefile diff -u src/external/bsd/llvm/lib/libclangAST/Makefile:1.10 src/external/bsd/llvm/lib/libclangAST/Makefile:1.11 --- src/external/bsd/llvm/lib/libclangAST/Makefile:1.10 Thu Apr 25 13:59:58 2013 +++ src/external/bsd/llvm/lib/libclangAST/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2013/04/25 13:59:58 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/07/07 21:36:44 joerg Exp $ LIB= clangAST @@ -12,6 +12,7 @@ SRCS+= APValue.cpp \ ASTDiagnostic.cpp \ ASTDumper.cpp \ ASTImporter.cpp \ + ASTTypeTraits.cpp \ AttrImpl.cpp \ CXXInheritance.cpp \ Comment.cpp \ @@ -39,8 +40,8 @@ SRCS+= APValue.cpp \ InheritViz.cpp \ ItaniumCXXABI.cpp \ ItaniumMangle.cpp \ - LambdaMangleContext.cpp \ Mangle.cpp \ + MangleNumberingContext.cpp \ MicrosoftCXXABI.cpp \ MicrosoftMangle.cpp \ NSAPI.cpp \ Index: src/external/bsd/llvm/lib/libclangCodeGen/Makefile diff -u src/external/bsd/llvm/lib/libclangCodeGen/Makefile:1.5 src/external/bsd/llvm/lib/libclangCodeGen/Makefile:1.6 --- src/external/bsd/llvm/lib/libclangCodeGen/Makefile:1.5 Sun Mar 24 13:02:17 2013 +++ src/external/bsd/llvm/lib/libclangCodeGen/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2013/03/24 13:02:17 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2013/07/07 21:36:44 joerg Exp $ LIB= clangCodeGen @@ -44,6 +44,7 @@ SRCS+= BackendUtil.cpp \ CodeGenTypes.cpp \ ItaniumCXXABI.cpp \ MicrosoftCXXABI.cpp \ + MicrosoftVBTables.cpp \ ModuleBuilder.cpp \ TargetInfo.cpp Index: src/external/bsd/llvm/lib/libclangDriver/Makefile diff -u src/external/bsd/llvm/lib/libclangDriver/Makefile:1.4 src/external/bsd/llvm/lib/libclangDriver/Makefile:1.5 --- src/external/bsd/llvm/lib/libclangDriver/Makefile:1.4 Tue May 29 19:31:52 2012 +++ src/external/bsd/llvm/lib/libclangDriver/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/05/29 19:31:52 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2013/07/07 21:36:44 joerg Exp $ LIB= clangDriver @@ -7,15 +7,11 @@ LIB= clangDriver .PATH: ${CLANG_SRCDIR}/lib/Driver SRCS+= Action.cpp \ - Arg.cpp \ - ArgList.cpp \ CC1AsOptions.cpp \ Compilation.cpp \ Driver.cpp \ DriverOptions.cpp \ Job.cpp \ - Option.cpp \ - OptTable.cpp \ Phases.cpp \ Tool.cpp \ ToolChain.cpp \ Index: src/external/bsd/llvm/lib/libclangSema/Makefile diff -u src/external/bsd/llvm/lib/libclangSema/Makefile:1.12 src/external/bsd/llvm/lib/libclangSema/Makefile:1.13 --- src/external/bsd/llvm/lib/libclangSema/Makefile:1.12 Thu Apr 25 13:59:58 2013 +++ src/external/bsd/llvm/lib/libclangSema/Makefile Sun Jul 7 21:36:44 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2013/04/25 13:59:58 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2013/07/07 21:36:44 joerg Exp $ LIB= clangSema @@ -50,7 +50,8 @@ SRCS+= AnalysisBasedWarnings.cpp \ SemaTemplateInstantiateDecl.cpp \ SemaTemplateVariadic.cpp \ SemaType.cpp \ - TargetAttributesSema.cpp + TargetAttributesSema.cpp \ + TypeLocBuilder.cpp .if defined(HOSTLIB) .include <bsd.hostlib.mk> Added files: Index: src/tools/llvm-lib/libLLVMOption/Makefile diff -u /dev/null src/tools/llvm-lib/libLLVMOption/Makefile:1.1 --- /dev/null Sun Jul 7 21:36:45 2013 +++ src/tools/llvm-lib/libLLVMOption/Makefile Sun Jul 7 21:36:44 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/07/07 21:36:44 joerg Exp $ + +.include <bsd.init.mk>