diff options
Diffstat (limited to 'lib/clang/include/llvm')
-rw-r--r-- | lib/clang/include/llvm/Config/config.h | 253 | ||||
-rw-r--r-- | lib/clang/include/llvm/Config/llvm-config.h | 19 | ||||
-rw-r--r-- | lib/clang/include/llvm/IR/Attributes.inc | 2 | ||||
-rw-r--r-- | lib/clang/include/llvm/Support/DataTypes.h | 12 |
4 files changed, 165 insertions, 121 deletions
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 8342fcb..014d9d1 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -1,6 +1,5 @@ /* $FreeBSD$ */ -/* 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. */ +/* include/llvm/Config/config.h.cmake corresponding to config.h.in. */ #ifndef CONFIG_H #define CONFIG_H @@ -14,79 +13,67 @@ /* Bug report URL. */ #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/" -/* Default OpenMP runtime used by -fopenmp. */ -#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp" - -/* Define if we have libxml2 */ -/* #undef CLANG_HAVE_LIBXML */ - -/* 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 "" - -/* Default <path> to all compiler invocations for --sysroot=<path>. */ -/* #undef DEFAULT_SYSROOT */ - /* Define if you want backtraces on crash */ -#define ENABLE_BACKTRACES 1 +#define ENABLE_BACKTRACES -/* Define to enable crash handling overrides */ -#define ENABLE_CRASH_OVERRIDES 1 +/* Define to enable crash overrides */ +#define ENABLE_CRASH_OVERRIDES + +/* Define to disable C++ atexit */ +#define DISABLE_LLVM_DYLIB_ATEXIT /* Define if position independent code is enabled */ -#define ENABLE_PIC 0 +#define ENABLE_PIC /* Define if timestamp information (e.g., __DATE__) is allowed */ -#define ENABLE_TIMESTAMPS 0 +/* #undef ENABLE_TIMESTAMPS */ -/* Directory where gcc is installed. */ -#define GCC_INSTALL_PREFIX "" +/* Define to 1 if you have the `arc4random' function. */ +#define HAVE_DECL_ARC4RANDOM 1 /* 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 */ +/* Define to 1 if you have the `bcopy' function. */ +#undef HAVE_BCOPY -/* can use __crashreporter_info__ */ -#define HAVE_CRASHREPORTER_INFO 0 +/* Define to 1 if you have the `closedir' function. */ +#define HAVE_CLOSEDIR 1 /* 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 +/* Define to 1 if you have the <CrashReporterClient.h> header file. */ +#undef HAVE_CRASHREPORTERCLIENT_H -/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you - don't. */ -#define HAVE_DECL_FE_INEXACT 1 +/* can use __crashreporter_info__ */ +#undef HAVE_CRASHREPORTER_INFO /* 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. */ +/* #undef HAVE_DIA_SDK */ + /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */ #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 /* Define if dlopen() is available on this platform. */ #define HAVE_DLOPEN 1 -/* Define if the dot program is available */ -/* #undef HAVE_DOT */ +/* 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 @@ -111,14 +98,14 @@ /* 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 to 1 if you have the `futimes' function. */ +#define HAVE_FUTIMES 1 + +/* Define to 1 if you have the `futimens' function */ #if __FreeBSD_version >= 1100056 #define HAVE_FUTIMENS 1 #endif -/* 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 @@ -143,14 +130,14 @@ /* Define to 1 if you have the `isatty' function. */ #define HAVE_ISATTY 1 -/* Define if libedit is available on this platform. */ -#define HAVE_LIBEDIT 1 +/* Define if you have the libdl library or equivalent. */ +/* #undef HAVE_LIBDL */ /* Define to 1 if you have the `m' library (-lm). */ -#define HAVE_LIBM 1 +#undef HAVE_LIBM /* Define to 1 if you have the `ole32' library (-lole32). */ -/* #undef HAVE_LIBOLE32 */ +#undef HAVE_LIBOLE32 /* Define to 1 if you have the `psapi' library (-lpsapi). */ /* #undef HAVE_LIBPSAPI */ @@ -161,25 +148,34 @@ /* Define to 1 if you have the `shell32' library (-lshell32). */ /* #undef HAVE_LIBSHELL32 */ -/* Define to 1 if you have the `z' library (-lz). */ +/* Define to 1 if you have the 'z' library (-lz). */ #define HAVE_LIBZ 1 -/* Define if you can use -rdynamic. */ -#define HAVE_LINK_EXPORT_DYNAMIC 1 +/* Define to 1 if you have the 'edit' library (-ledit). */ +#define HAVE_LIBEDIT 1 + +/* Define to 1 if you have the <limits.h> header file. */ +#define HAVE_LIMITS_H 1 /* Define to 1 if you have the <link.h> header file. */ #define HAVE_LINK_H 1 +/* Define if you can use -rdynamic. */ +#define HAVE_LINK_EXPORT_DYNAMIC 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. */ -#define HAVE_LINK_R 1 +#undef HAVE_LINK_R /* Define to 1 if you have the `longjmp' function. */ -#define HAVE_LONGJMP 1 +/* #undef HAVE_LONGJMP */ /* 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 */ @@ -192,8 +188,8 @@ /* 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 `mallctl` function. */ +#define HAVE_MALLCTL 1 /* Define to 1 if you have the `mkdtemp' function. */ #define HAVE_MKDTEMP 1 @@ -205,26 +201,32 @@ #define HAVE_MKTEMP 1 /* Define to 1 if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 +#undef HAVE_MMAP /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON */ -/* #undef HAVE_MMAP_ANONYMOUS */ +#undef HAVE_MMAP_ANONYMOUS /* Define if mmap() can map files into memory */ -#define HAVE_MMAP_FILE +#undef HAVE_MMAP_FILE /* 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 `opendir' function. */ +#define HAVE_OPENDIR 1 + /* Define to 1 if you have the `posix_spawn' function. */ -/* #undef HAVE_POSIX_SPAWN */ +#define HAVE_POSIX_SPAWN 1 /* Define to 1 if you have the `pread' function. */ #define HAVE_PREAD 1 +/* Define if libtool can extract symbol lists from object files. */ +#undef HAVE_PRELOADED_SYMBOLS + /* Define to have the %a format string */ -#define HAVE_PRINTF_A 1 +#undef HAVE_PRINTF_A /* Have pthread_getspecific */ #define HAVE_PTHREAD_GETSPECIFIC 1 @@ -241,6 +243,9 @@ /* 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 @@ -251,28 +256,34 @@ #define HAVE_SETENV 1 /* Define to 1 if you have the `setjmp' function. */ -#define HAVE_SETJMP 1 - -/* Define to 1 if you have the <setjmp.h> header file. */ -#define HAVE_SETJMP_H 1 +/* #undef HAVE_SETJMP */ /* 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 +/* #undef HAVE_SIGLONGJMP */ /* Define to 1 if you have the <signal.h> header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the `sigsetjmp' function. */ -#define HAVE_SIGSETJMP 1 +/* #undef HAVE_SIGSETJMP */ /* 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 +/* Set to 1 if the std::isinf function is found in <cmath> */ +#undef HAVE_STD_ISINF_IN_CMATH + +/* Set to 1 if the std::isnan function is found in <cmath> */ +#undef HAVE_STD_ISNAN_IN_CMATH + +/* Define to 1 if you have the `strdup' function. */ +/* #undef HAVE_STRDUP */ /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 @@ -280,12 +291,6 @@ /* 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 @@ -293,17 +298,17 @@ #define HAVE_STRTOQ 1 /* Define to 1 if you have the `sysconf' function. */ -#define HAVE_SYSCONF 1 +#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 HAVE_SYS_DIR_H 1 /* 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 HAVE_SYS_MMAN_H /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. */ @@ -322,14 +327,11 @@ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 +/* #undef HAVE_SYS_TYPES_H */ /* Define to 1 if you have the <sys/uio.h> header file. */ #define HAVE_SYS_UIO_H 1 -/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ -#define HAVE_SYS_WAIT_H 1 - /* Define if the setupterm() function is supported this platform. */ #define HAVE_TERMINFO 1 @@ -346,7 +348,7 @@ #define HAVE_UTIME_H 1 /* Define to 1 if the system has the type `u_int64_t'. */ -/* #undef HAVE_U_INT64_T */ +#define HAVE_U_INT64_T 1 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ @@ -382,7 +384,7 @@ /* #undef HAVE___DIVDI3 */ /* Define to 1 if you have the `__dso_handle' function. */ -#define HAVE___DSO_HANDLE 1 +#undef HAVE___DSO_HANDLE /* Have host's __fixdfdi */ /* #undef HAVE___FIXDFDI */ @@ -415,7 +417,7 @@ /* #undef HAVE____CHKSTK_MS */ /* Linker version detected at compile time. */ -/* #undef HOST_LINK_VERSION */ +#undef HOST_LINK_VERSION /* Installation directory for binary executables */ /* #undef LLVM_BINDIR */ @@ -426,19 +428,22 @@ /* Installation directory for data files */ /* #undef LLVM_DATADIR */ -/* Target triple LLVM will generate code for by default */ +/* Target triple LLVM will generate code for by default + * Doesn't use `cmakedefine` because it is allowed to be empty. + */ /* #undef LLVM_DEFAULT_TARGET_TRIPLE */ /* Installation directory for documentation */ /* #undef LLVM_DOCSDIR */ -/* Define to enable checks that alter the LLVM C++ ABI */ -#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1 +/* Define if LLVM is built with asserts and checks that change the layout of + client-visible data structures. */ +#define LLVM_ENABLE_ABI_BREAKING_CHECKS /* Define if threads enabled */ #define LLVM_ENABLE_THREADS 1 -/* Define if zlib is enabled */ +/* Define if zlib compression is available */ #define LLVM_ENABLE_ZLIB 1 /* Installation directory for config files */ @@ -486,36 +491,49 @@ /* Define if this is Win32ish platform */ /* #undef LLVM_ON_WIN32 */ -/* Define to path to dot program if found or 'echo dot' otherwise */ -/* #undef LLVM_PATH_DOT */ - /* Installation prefix directory */ #define LLVM_PREFIX "/usr" /* Define if we have the Intel JIT API runtime support library */ -#define LLVM_USE_INTEL_JITEVENTS 0 +/* #undef LLVM_USE_INTEL_JITEVENTS */ /* Define if we have the oprofile JIT-support library */ -#define LLVM_USE_OPROFILE 0 +/* #undef LLVM_USE_OPROFILE */ /* Major version of the LLVM API */ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 7 +#define LLVM_VERSION_MINOR 8 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.7.1" +#define LLVM_VERSION_STRING "3.8.0" + +/* Define if we link Polly to the tools */ +/* #undef LINK_POLLY_INTO_TOOLS */ + +/* Define if the OS needs help to load dependent libraries for dlopen(). */ +/* #undef LTDL_DLOPEN_DEPLIBS */ + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LTDL_OBJDIR -/* The shared library extension */ +/* Define to the extension used for shared libraries, say, ".so". */ #define LTDL_SHLIB_EXT ".so" +/* Define to the system default library search path. */ +/* #undef LTDL_SYSSEARCHPATH */ + /* Define if /dev/zero should be used when mapping RWX memory, or undefine if its not necessary */ -/* #undef NEED_DEV_ZERO_FOR_MMAP */ +#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 "https://bugs.freebsd.org/submit/" @@ -524,36 +542,51 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.7.1" +#define PACKAGE_STRING "LLVM 3.8.0" /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "llvm" +#undef PACKAGE_TARNAME /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.7.1" +#define PACKAGE_VERSION "3.8.0" /* 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 */ +#undef STAT_MACROS_BROKEN /* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 +#undef STDC_HEADERS /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#define TIME_WITH_SYS_TIME 1 +#undef TIME_WITH_SYS_TIME /* Define to 1 if your <sys/time.h> declares `struct tm'. */ -/* #undef TM_IN_SYS_TIME */ +#undef TM_IN_SYS_TIME /* Type of 1st arg on ELM Callback */ /* #undef WIN32_ELMCB_PCSTR */ /* Define to `int' if <sys/types.h> does not define. */ -/* #undef pid_t */ +#undef pid_t /* Define to `unsigned int' if <sys/types.h> does not define. */ -/* #undef size_t */ +#undef size_t + +/* Define to a function replacing strtoll */ +/* #undef strtoll */ + +/* Define to a function implementing strtoull */ +/* #undef strtoull */ + +/* Define to a function implementing stricmp */ +/* #undef stricmp */ + +/* Define to a function implementing strdup */ +/* #undef strdup */ + +/* Define to 1 if you have the `_chsize_s' function. */ +/* #undef HAVE__CHSIZE_S */ #endif diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 36bcda7..5cbb474 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -1,5 +1,4 @@ /* $FreeBSD$ */ -/* 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 */ @@ -31,8 +30,9 @@ /* Installation directory for documentation */ /* #undef LLVM_DOCSDIR */ -/* Define to enable checks that alter the LLVM C++ ABI */ -#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1 +/* Define if LLVM is built with asserts and checks that change the layout of + client-visible data structures. */ +#define LLVM_ENABLE_ABI_BREAKING_CHECKS /* Define if threads enabled */ #define LLVM_ENABLE_THREADS 1 @@ -86,21 +86,24 @@ #define LLVM_PREFIX "/usr" /* Define if we have the Intel JIT API runtime support library */ -#define LLVM_USE_INTEL_JITEVENTS 0 +/* #undef LLVM_USE_INTEL_JITEVENTS */ /* Define if we have the oprofile JIT-support library */ -#define LLVM_USE_OPROFILE 0 +/* #undef LLVM_USE_OPROFILE */ /* Major version of the LLVM API */ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 7 +#define LLVM_VERSION_MINOR 8 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 1 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "3.7.1" +#define LLVM_VERSION_STRING "3.8.0" + +/* Define if we link Polly to the tools */ +/* #undef LINK_POLLY_INTO_TOOLS */ #endif diff --git a/lib/clang/include/llvm/IR/Attributes.inc b/lib/clang/include/llvm/IR/Attributes.inc new file mode 100644 index 0000000..dfe888e --- /dev/null +++ b/lib/clang/include/llvm/IR/Attributes.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "Attributes.inc.h" diff --git a/lib/clang/include/llvm/Support/DataTypes.h b/lib/clang/include/llvm/Support/DataTypes.h index 6f95bc4..ceefdaf 100644 --- a/lib/clang/include/llvm/Support/DataTypes.h +++ b/lib/clang/include/llvm/Support/DataTypes.h @@ -1,5 +1,4 @@ /* $FreeBSD$ */ -/* 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 *| @@ -23,7 +22,7 @@ /* Please leave this file C-compatible. */ -/* Please keep this file in sync with DataTypes.h.cmake */ +/* Please keep this file in sync with DataTypes.h.in */ #ifndef SUPPORT_DATATYPES_H #define SUPPORT_DATATYPES_H @@ -31,7 +30,7 @@ #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UINT64_T 1 -/* #undef HAVE_U_INT64_T */ +#define HAVE_U_INT64_T 1 #ifdef __cplusplus #include <cmath> @@ -103,6 +102,13 @@ typedef signed int ssize_t; #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 */ |