diff options
author | dim <dim@FreeBSD.org> | 2014-11-24 19:37:11 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-11-24 19:37:11 +0000 |
commit | 099d19dfa9116bf3405f65f6f1e4a3be31e40af4 (patch) | |
tree | 2e7dd0da1313012953132855aaab9cead0c1b457 /lib | |
parent | 82ca21468e7fe6a5112961ba86434579bed3f204 (diff) | |
download | FreeBSD-src-099d19dfa9116bf3405f65f6f1e4a3be31e40af4.zip FreeBSD-src-099d19dfa9116bf3405f65f6f1e4a3be31e40af4.tar.gz |
Update llvm and clang include files.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/clang/include/Makefile | 6 | ||||
-rw-r--r-- | lib/clang/include/MipsGenFastISel.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/PPCGenDisassemblerTables.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/AST/AttrVisitor.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Basic/Version.inc | 10 | ||||
-rw-r--r-- | lib/clang/include/clang/Config/config.h | 14 | ||||
-rw-r--r-- | lib/clang/include/clang/Driver/CC1AsOptions.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Lex/AttrSpellings.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Parse/AttrIdentifierArg.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Parse/AttrLateParsed.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Parse/AttrParserStringSwitches.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/clang/Parse/AttrTypeArg.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/llvm/Config/Disassemblers.def | 1 | ||||
-rw-r--r-- | lib/clang/include/llvm/Config/config.h | 144 | ||||
-rw-r--r-- | lib/clang/include/llvm/Config/llvm-config.h | 43 |
16 files changed, 51 insertions, 187 deletions
diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index 77b4d99..4b44bfd 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -8,12 +8,13 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm .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 \ diff --git a/lib/clang/include/MipsGenFastISel.inc b/lib/clang/include/MipsGenFastISel.inc new file mode 100644 index 0000000..a2aaacf --- /dev/null +++ b/lib/clang/include/MipsGenFastISel.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "MipsGenFastISel.inc.h" diff --git a/lib/clang/include/PPCGenDisassemblerTables.inc b/lib/clang/include/PPCGenDisassemblerTables.inc new file mode 100644 index 0000000..c581dbe --- /dev/null +++ b/lib/clang/include/PPCGenDisassemblerTables.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "PPCGenDisassemblerTables.inc.h" diff --git a/lib/clang/include/clang/AST/AttrVisitor.inc b/lib/clang/include/clang/AST/AttrVisitor.inc new file mode 100644 index 0000000..8f8bdb0 --- /dev/null +++ b/lib/clang/include/clang/AST/AttrVisitor.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrVisitor.inc.h" diff --git a/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc b/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc new file mode 100644 index 0000000..0e996d2 --- /dev/null +++ b/lib/clang/include/clang/Basic/AttrHasAttributeImpl.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrHasAttributeImpl.inc.h" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index d2fcc04..08ba886 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -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" diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h index 5c35829..f7a5c99 100644 --- a/lib/clang/include/clang/Config/config.h +++ b/lib/clang/include/clang/Config/config.h @@ -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 diff --git a/lib/clang/include/clang/Driver/CC1AsOptions.inc b/lib/clang/include/clang/Driver/CC1AsOptions.inc deleted file mode 100644 index 3d76958..0000000 --- a/lib/clang/include/clang/Driver/CC1AsOptions.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "CC1AsOptions.inc.h" diff --git a/lib/clang/include/clang/Lex/AttrSpellings.inc b/lib/clang/include/clang/Lex/AttrSpellings.inc deleted file mode 100644 index 8859ae3..0000000 --- a/lib/clang/include/clang/Lex/AttrSpellings.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "AttrSpellings.inc.h" diff --git a/lib/clang/include/clang/Parse/AttrIdentifierArg.inc b/lib/clang/include/clang/Parse/AttrIdentifierArg.inc deleted file mode 100644 index 2969a50..0000000 --- a/lib/clang/include/clang/Parse/AttrIdentifierArg.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "AttrIdentifierArg.inc.h" diff --git a/lib/clang/include/clang/Parse/AttrLateParsed.inc b/lib/clang/include/clang/Parse/AttrLateParsed.inc deleted file mode 100644 index 1282d9e..0000000 --- a/lib/clang/include/clang/Parse/AttrLateParsed.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "AttrLateParsed.inc.h" diff --git a/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc b/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc new file mode 100644 index 0000000..ef8642c --- /dev/null +++ b/lib/clang/include/clang/Parse/AttrParserStringSwitches.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrParserStringSwitches.inc.h" diff --git a/lib/clang/include/clang/Parse/AttrTypeArg.inc b/lib/clang/include/clang/Parse/AttrTypeArg.inc deleted file mode 100644 index 8eb4699..0000000 --- a/lib/clang/include/clang/Parse/AttrTypeArg.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "AttrTypeArg.inc.h" diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def index 25406a4..1d31d24 100644 --- a/lib/clang/include/llvm/Config/Disassemblers.def +++ b/lib/clang/include/llvm/Config/Disassemblers.def @@ -2,6 +2,7 @@ LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) +LLVM_DISASSEMBLER(PowerPC) LLVM_DISASSEMBLER(Sparc) LLVM_DISASSEMBLER(X86) diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index ce32c50..4092d3e 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -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 */ diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 1717863..08da010 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -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. */ +/* 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. */ -/* 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 +#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 |