Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 19:37:12 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r274972 - in projects/clang350-import/lib/clang/include: . clang/AST clang/Basic clang/Config clang/Driver clang/Lex clang/Parse llvm/Config
Message-ID:  <201411241937.sAOJbCQI042511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Nov 24 19:37:11 2014
New Revision: 274972
URL: https://svnweb.freebsd.org/changeset/base/274972

Log:
  Update llvm and clang include files.

Added:
  projects/clang350-import/lib/clang/include/MipsGenFastISel.inc   (contents, props changed)
  projects/clang350-import/lib/clang/include/PPCGenDisassemblerTables.inc   (contents, props changed)
  projects/clang350-import/lib/clang/include/clang/AST/AttrVisitor.inc   (contents, props changed)
  projects/clang350-import/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc   (contents, props changed)
  projects/clang350-import/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc   (contents, props changed)
Deleted:
  projects/clang350-import/lib/clang/include/clang/Driver/CC1AsOptions.inc
  projects/clang350-import/lib/clang/include/clang/Lex/
  projects/clang350-import/lib/clang/include/clang/Parse/AttrIdentifierArg.inc
  projects/clang350-import/lib/clang/include/clang/Parse/AttrLateParsed.inc
  projects/clang350-import/lib/clang/include/clang/Parse/AttrTypeArg.inc
Modified:
  projects/clang350-import/lib/clang/include/Makefile
  projects/clang350-import/lib/clang/include/clang/Basic/Version.inc
  projects/clang350-import/lib/clang/include/clang/Config/config.h
  projects/clang350-import/lib/clang/include/llvm/Config/Disassemblers.def
  projects/clang350-import/lib/clang/include/llvm/Config/config.h
  projects/clang350-import/lib/clang/include/llvm/Config/llvm-config.h

Modified: projects/clang350-import/lib/clang/include/Makefile
==============================================================================
--- projects/clang350-import/lib/clang/include/Makefile	Mon Nov 24 18:43:37 2014	(r274971)
+++ projects/clang350-import/lib/clang/include/Makefile	Mon Nov 24 19:37:11 2014	(r274972)
@@ -8,12 +8,13 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/l
 
 .PATH: ${LLVM_SRCS}/tools/clang/lib/Headers
 
-INCSDIR=${INCLUDEDIR}/clang/3.4.1
+INCSDIR=${INCLUDEDIR}/clang/3.5.0
 
 INCS=	__wmmintrin_aes.h \
 	__wmmintrin_pclmul.h \
 	altivec.h \
 	ammintrin.h \
+	arm_acle.h \
 	avx2intrin.h \
 	avxintrin.h \
 	bmi2intrin.h \
@@ -23,12 +24,13 @@ INCS=	__wmmintrin_aes.h \
 	f16cintrin.h \
 	fma4intrin.h \
 	fmaintrin.h \
+	ia32intrin.h \
 	immintrin.h \
 	lzcntintrin.h \
 	mm3dnow.h \
 	mm_malloc.h \
 	mmintrin.h \
-	module.map \
+	module.modulemap \
 	nmmintrin.h \
 	pmmintrin.h \
 	popcntintrin.h \

Added: projects/clang350-import/lib/clang/include/MipsGenFastISel.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang350-import/lib/clang/include/MipsGenFastISel.inc	Mon Nov 24 19:37:11 2014	(r274972)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenFastISel.inc.h"

Added: projects/clang350-import/lib/clang/include/PPCGenDisassemblerTables.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang350-import/lib/clang/include/PPCGenDisassemblerTables.inc	Mon Nov 24 19:37:11 2014	(r274972)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenDisassemblerTables.inc.h"

Added: projects/clang350-import/lib/clang/include/clang/AST/AttrVisitor.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang350-import/lib/clang/include/clang/AST/AttrVisitor.inc	Mon Nov 24 19:37:11 2014	(r274972)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrVisitor.inc.h"

Added: projects/clang350-import/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang350-import/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc	Mon Nov 24 19:37:11 2014	(r274972)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrHasAttributeImpl.inc.h"

Modified: projects/clang350-import/lib/clang/include/clang/Basic/Version.inc
==============================================================================
--- projects/clang350-import/lib/clang/include/clang/Basic/Version.inc	Mon Nov 24 18:43:37 2014	(r274971)
+++ projects/clang350-import/lib/clang/include/clang/Basic/Version.inc	Mon Nov 24 19:37:11 2014	(r274972)
@@ -1,11 +1,11 @@
 /* $FreeBSD$ */
 
-#define	CLANG_VERSION			3.4.1
+#define	CLANG_VERSION			3.5.0
 #define	CLANG_VERSION_MAJOR		3
-#define	CLANG_VERSION_MINOR		4
-#define	CLANG_VERSION_PATCHLEVEL	1
+#define	CLANG_VERSION_MINOR		5
+#define	CLANG_VERSION_PATCHLEVEL	0
 
 #define	CLANG_VENDOR			"FreeBSD "
-#define	CLANG_VENDOR_SUFFIX		" 20140512"
+#define	CLANG_VENDOR_SUFFIX		" 20141124"
 
-#define	SVN_REVISION			"208032"
+#define	SVN_REVISION			"216957"

Modified: projects/clang350-import/lib/clang/include/clang/Config/config.h
==============================================================================
--- projects/clang350-import/lib/clang/include/clang/Config/config.h	Mon Nov 24 18:43:37 2014	(r274971)
+++ projects/clang350-import/lib/clang/include/clang/Config/config.h	Mon Nov 24 19:37:11 2014	(r274972)
@@ -1,8 +1,10 @@
 /* $FreeBSD$ */
 /* tools/clang/include/clang/Config/config.h.  Generated from config.h.in by configure.  */
-/* include/clang/Config/config.h.in. */
+/* This generated file is for internal use. Do not include it from headers. */
 
-#ifndef CONFIG_H
+#ifdef CONFIG_H
+#error config.h can only be included once
+#else
 #define CONFIG_H
 
 /* Bug report URL. */
@@ -23,4 +25,12 @@
 /* Directory where gcc is installed. */
 #define GCC_INSTALL_PREFIX ""
 
+/* Define if we have libxml2 */
+/* #undef CLANG_HAVE_LIBXML */
+
+#define PACKAGE_STRING "LLVM 3.5.0"
+
+/* The LLVM product name and version */
+#define BACKEND_PACKAGE_STRING PACKAGE_STRING
+
 #endif

Added: projects/clang350-import/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang350-import/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc	Mon Nov 24 19:37:11 2014	(r274972)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "AttrParserStringSwitches.inc.h"

Modified: projects/clang350-import/lib/clang/include/llvm/Config/Disassemblers.def
==============================================================================
--- projects/clang350-import/lib/clang/include/llvm/Config/Disassemblers.def	Mon Nov 24 18:43:37 2014	(r274971)
+++ projects/clang350-import/lib/clang/include/llvm/Config/Disassemblers.def	Mon Nov 24 19:37:11 2014	(r274972)
@@ -2,6 +2,7 @@
 
 LLVM_DISASSEMBLER(ARM)
 LLVM_DISASSEMBLER(Mips)
+LLVM_DISASSEMBLER(PowerPC)
 LLVM_DISASSEMBLER(Sparc)
 LLVM_DISASSEMBLER(X86)
 

Modified: projects/clang350-import/lib/clang/include/llvm/Config/config.h
==============================================================================
--- projects/clang350-import/lib/clang/include/llvm/Config/config.h	Mon Nov 24 18:43:37 2014	(r274971)
+++ projects/clang350-import/lib/clang/include/llvm/Config/config.h	Mon Nov 24 19:37:11 2014	(r274972)
@@ -38,39 +38,12 @@
 /* Directory where gcc is installed. */
 #define GCC_INSTALL_PREFIX ""
 
-/* Define to 1 if you have the `arc4random' function. */
-#define HAVE_ARC4RANDOM 1
-
-/* Define to 1 if you have the `argz_append' function. */
-/* #undef HAVE_ARGZ_APPEND */
-
-/* Define to 1 if you have the `argz_create_sep' function. */
-/* #undef HAVE_ARGZ_CREATE_SEP */
-
-/* Define to 1 if you have the <argz.h> header file. */
-/* #undef HAVE_ARGZ_H */
-
-/* Define to 1 if you have the `argz_insert' function. */
-/* #undef HAVE_ARGZ_INSERT */
-
-/* Define to 1 if you have the `argz_next' function. */
-/* #undef HAVE_ARGZ_NEXT */
-
-/* Define to 1 if you have the `argz_stringify' function. */
-/* #undef HAVE_ARGZ_STRINGIFY */
-
 /* Define to 1 if you have the `backtrace' function. */
 /* #undef HAVE_BACKTRACE */
 
 /* Define to 1 if you have the `ceilf' function. */
 #define HAVE_CEILF 1
 
-/* Define if the neat program is available */
-/* #undef HAVE_CIRCO */
-
-/* Define to 1 if you have the `closedir' function. */
-#define HAVE_CLOSEDIR 1
-
 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
 /* #undef HAVE_CRASHREPORTERCLIENT_H */
 
@@ -80,6 +53,10 @@
 /* Define to 1 if you have the <cxxabi.h> header file. */
 #define HAVE_CXXABI_H 1
 
+/* 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
@@ -96,12 +73,6 @@
    */
 #define HAVE_DIRENT_H 1
 
-/* Define if you have the GNU dld library. */
-/* #undef HAVE_DLD */
-
-/* Define to 1 if you have the `dlerror' function. */
-#define HAVE_DLERROR 1
-
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #define HAVE_DLFCN_H 1
 
@@ -111,18 +82,9 @@
 /* Define if the dot program is available */
 /* #undef HAVE_DOT */
 
-/* Define if the dotty program is available */
-/* #undef HAVE_DOTTY */
-
-/* Define if you have the _dyld_func_lookup function. */
-/* #undef HAVE_DYLD */
-
 /* Define to 1 if you have the <errno.h> header file. */
 #define HAVE_ERRNO_H 1
 
-/* Define to 1 if the system has the type `error_t'. */
-/* #undef HAVE_ERROR_T */
-
 /* Define to 1 if you have the <execinfo.h> header file. */
 /* #undef HAVE_EXECINFO_H */
 
@@ -135,9 +97,6 @@
 /* Define to 1 if you have the <fcntl.h> header file. */
 #define HAVE_FCNTL_H 1
 
-/* Define if the neat program is available */
-/* #undef HAVE_FDP */
-
 /* Define to 1 if you have the <fenv.h> header file. */
 #define HAVE_FENV_H 1
 
@@ -180,12 +139,6 @@
 /* Define to 1 if you have the `gettimeofday' function. */
 #define HAVE_GETTIMEOFDAY 1
 
-/* Define if the Graphviz program is available */
-/* #undef HAVE_GRAPHVIZ */
-
-/* Define if the gv program is available */
-/* #undef HAVE_GV */
-
 /* Define to 1 if the system has the type `int64_t'. */
 #define HAVE_INT64_T 1
 
@@ -207,8 +160,8 @@
 /* Set to 1 if the isnan function is found in <math.h> */
 #define HAVE_ISNAN_IN_MATH_H 1
 
-/* Define if you have the libdl library or equivalent. */
-#define HAVE_LIBDL 1
+/* Define if libedit is available on this platform. */
+#define HAVE_LIBEDIT 1
 
 /* Define to 1 if you have the `imagehlp' library (-limagehlp). */
 /* #undef HAVE_LIBIMAGEHLP */
@@ -225,9 +178,6 @@
 /* Define to 1 if you have the `shell32' library (-lshell32). */
 /* #undef HAVE_LIBSHELL32 */
 
-/* Define to 1 if you have the `udis86' library (-ludis86). */
-/* #undef HAVE_LIBUDIS86 */
-
 /* Define to 1 if you have the `z' library (-lz). */
 #define HAVE_LIBZ 1
 
@@ -258,9 +208,6 @@
 /* Define to 1 if you have the <mach/mach.h> header file. */
 /* #undef HAVE_MACH_MACH_H */
 
-/* Define to 1 if you have the <mach-o/dyld.h> header file. */
-/* #undef HAVE_MACH_O_DYLD_H */
-
 /* Define if mallinfo() is available on this platform. */
 /* #undef HAVE_MALLINFO */
 
@@ -301,12 +248,6 @@
 /* Define to 1 if you have the `nearbyintf' function. */
 #define HAVE_NEARBYINTF 1
 
-/* Define if the neat program is available */
-/* #undef HAVE_NEATO */
-
-/* Define to 1 if you have the `opendir' function. */
-#define HAVE_OPENDIR 1
-
 /* Define to 1 if you have the `posix_spawn' function. */
 /* #undef HAVE_POSIX_SPAWN */
 
@@ -316,9 +257,6 @@
 /* Define to 1 if you have the `pread' function. */
 #define HAVE_PREAD 1
 
-/* Define if libtool can extract symbol lists from object files. */
-#define HAVE_PRELOADED_SYMBOLS 1
-
 /* Define to have the %a format string */
 #define HAVE_PRINTF_A 1
 
@@ -337,9 +275,6 @@
 /* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
 #define HAVE_RAND48 1
 
-/* Define to 1 if you have the `readdir' function. */
-#define HAVE_READDIR 1
-
 /* Define to 1 if you have the `realpath' function. */
 #define HAVE_REALPATH 1
 
@@ -367,9 +302,6 @@
 /* Define to 1 if you have the `setrlimit' function. */
 #define HAVE_SETRLIMIT 1
 
-/* Define if you have the shl_load function. */
-/* #undef HAVE_SHL_LOAD */
-
 /* Define to 1 if you have the `siglongjmp' function. */
 #define HAVE_SIGLONGJMP 1
 
@@ -456,9 +388,6 @@
 /* Define to 1 if you have the <termios.h> header file. */
 #define HAVE_TERMIOS_H 1
 
-/* Define if the neat program is available */
-/* #undef HAVE_TWOPI */
-
 /* Define to 1 if the system has the type `uint64_t'. */
 #define HAVE_UINT64_T 1
 
@@ -477,9 +406,6 @@
 /* Define to 1 if you have the `writev' function. */
 #define HAVE_WRITEV 1
 
-/* Define if the xdot program is available */
-/* #undef HAVE_XDOT */
-
 /* Define to 1 if you have the <zlib.h> header file. */
 #define HAVE_ZLIB_H 1
 
@@ -603,33 +529,9 @@
 /* Define if this is Win32ish platform */
 /* #undef LLVM_ON_WIN32 */
 
-/* Define to path to circo program if found or 'echo circo' otherwise */
-/* #undef LLVM_PATH_CIRCO */
-
 /* Define to path to dot program if found or 'echo dot' otherwise */
 /* #undef LLVM_PATH_DOT */
 
-/* Define to path to dotty program if found or 'echo dotty' otherwise */
-/* #undef LLVM_PATH_DOTTY */
-
-/* Define to path to fdp program if found or 'echo fdp' otherwise */
-/* #undef LLVM_PATH_FDP */
-
-/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
-/* #undef LLVM_PATH_GRAPHVIZ */
-
-/* Define to path to gv program if found or 'echo gv' otherwise */
-/* #undef LLVM_PATH_GV */
-
-/* Define to path to neato program if found or 'echo neato' otherwise */
-/* #undef LLVM_PATH_NEATO */
-
-/* Define to path to twopi program if found or 'echo twopi' otherwise */
-/* #undef LLVM_PATH_TWOPI */
-
-/* Define to path to xdot program if found or 'echo xdot' otherwise */
-/* #undef LLVM_PATH_XDOT */
-
 /* Installation prefix directory */
 #define LLVM_PREFIX "/usr"
 
@@ -643,45 +545,32 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 4
+#define LLVM_VERSION_MINOR 5
 
 /* Patch version of the LLVM API */
-#define LLVM_VERSION_PATCH 1
-
-/* Define if the OS needs help to load dependent libraries for dlopen(). */
-#define LTDL_DLOPEN_DEPLIBS 1
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-   */
-#define LTDL_OBJDIR ".libs/"
+#define LLVM_VERSION_PATCH 0
 
-/* Define to the extension used for shared libraries, say, ".so". */
+/* The shared library extension */
 #define LTDL_SHLIB_EXT ".so"
 
-/* Define to the system default library search path. */
-#define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
-
 /* Define if /dev/zero should be used when mapping RWX memory, or undefine if
    its not necessary */
 /* #undef NEED_DEV_ZERO_FOR_MMAP */
 
-/* Define if dlsym() requires a leading underscore in symbol names. */
-/* #undef NEED_USCORE */
-
 /* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "http://llvm.org/bugs/"
+#define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
 
 /* 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 3.4.1"
+#define PACKAGE_STRING "LLVM 3.5.0"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "llvm"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "3.4.1"
+#define PACKAGE_VERSION "3.5.0"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -698,18 +587,9 @@
 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
 /* #undef TM_IN_SYS_TIME */
 
-/* Define if use udis86 library */
-#define USE_UDIS86 0
-
 /* Type of 1st arg on ELM Callback */
 /* #undef WIN32_ELMCB_PCSTR */
 
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to a type to use for `error_t' if it is not otherwise available. */
-#define error_t int
-
 /* Define to `int' if <sys/types.h> does not define. */
 /* #undef pid_t */
 

Modified: projects/clang350-import/lib/clang/include/llvm/Config/llvm-config.h
==============================================================================
--- projects/clang350-import/lib/clang/include/llvm/Config/llvm-config.h	Mon Nov 24 18:43:37 2014	(r274971)
+++ projects/clang350-import/lib/clang/include/llvm/Config/llvm-config.h	Mon Nov 24 19:37:11 2014	(r274972)
@@ -1,6 +1,6 @@
 /* $FreeBSD$ */
 /* include/llvm/Config/llvm-config.h.  Generated from llvm-config.h.in by configure.  */
-/*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/
+/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/
 /*                                                                            */
 /*                     The LLVM Compiler Infrastructure                       */
 /*                                                                            */
@@ -9,14 +9,12 @@
 /*                                                                            */
 /*===----------------------------------------------------------------------===*/
 
-/* This file enumerates all of the llvm variables from configure so that
-   they can be in exported headers and won't override package specific
-   directives.  This is a C file so we can include it in the llvm-c headers.  */
-
-/* To avoid multiple inclusions of these variables when we include the exported
-   headers and config.h, conditionally include these.  */
-/* TODO: This is a bit of a hack.  */
-#ifndef CONFIG_H
+/* 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
 
 /* Installation directory for binary executables */
 /* #undef LLVM_BINDIR */
@@ -81,33 +79,6 @@
 /* Define if this is Win32ish platform */
 /* #undef LLVM_ON_WIN32 */
 
-/* Define to path to circo program if found or 'echo circo' otherwise */
-/* #undef LLVM_PATH_CIRCO */
-
-/* Define to path to dot program if found or 'echo dot' otherwise */
-/* #undef LLVM_PATH_DOT */
-
-/* Define to path to dotty program if found or 'echo dotty' otherwise */
-/* #undef LLVM_PATH_DOTTY */
-
-/* Define to path to fdp program if found or 'echo fdp' otherwise */
-/* #undef LLVM_PATH_FDP */
-
-/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
-/* #undef LLVM_PATH_GRAPHVIZ */
-
-/* Define to path to gv program if found or 'echo gv' otherwise */
-/* #undef LLVM_PATH_GV */
-
-/* Define to path to neato program if found or 'echo neato' otherwise */
-/* #undef LLVM_PATH_NEATO */
-
-/* Define to path to twopi program if found or 'echo twopi' otherwise */
-/* #undef LLVM_PATH_TWOPI */
-
-/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
-/* #undef LLVM_PATH_XDOT_PY */
-
 /* Installation prefix directory */
 #define LLVM_PREFIX "/usr"
 
@@ -121,6 +92,6 @@
 #define LLVM_VERSION_MAJOR 3
 
 /* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 4
+#define LLVM_VERSION_MINOR 5
 
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411241937.sAOJbCQI042511>