aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/include/llvm/Config/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/include/llvm/Config/config.h')
-rw-r--r--lib/clang/include/llvm/Config/config.h74
1 files changed, 26 insertions, 48 deletions
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 35ce8c189d2b..0760c0b17a87 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
#ifndef CONFIG_H
#define CONFIG_H
@@ -20,6 +19,10 @@
/* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
#define LLVM_ENABLE_CRASH_DUMPS 0
+/* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
+ backslashes. */
+#define LLVM_WINDOWS_PREFER_FORWARD_SLASH 0
+
/* Define to 1 if you have the `backtrace' function. */
#define HAVE_BACKTRACE TRUE
@@ -51,9 +54,6 @@
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 LLVM_ENABLE_DIA_SDK 0
-
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
@@ -71,6 +71,9 @@
#define HAVE_DEREGISTER_FRAME 1
#endif // !arm || USING_SJLJ_EXCEPTIONS || ARM_DWARF_EH_
+/* Define if __unw_add_dynamic_fde() is available on this platform. */
+/* #undef HAVE_UNW_ADD_DYNAMIC_FDE */
+
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
@@ -108,7 +111,7 @@
#define HAVE_ISATTY 1
/* Define to 1 if you have the `edit' library (-ledit). */
-#define HAVE_LIBEDIT 1
+#define HAVE_LIBEDIT TRUE
/* Define to 1 if you have the `pfm' library (-lpfm). */
/* #undef HAVE_LIBPFM */
@@ -135,11 +138,6 @@
#define HAVE_LINK_H 0
#endif
-/* Define to 1 if you have the `lseek64' function. */
-#if defined(__linux__)
-#define HAVE_LSEEK64 1
-#endif
-
/* Define to 1 if you have the <mach/mach.h> header file. */
#if __has_include(<mach/mach.h>)
#define HAVE_MACH_MACH_H 1
@@ -155,6 +153,9 @@
#define HAVE_MALLINFO 1
#endif
+/* Define to 1 if you have the `mallinfo2' function. */
+/* #undef HAVE_MALLINFO2 */
+
/* Define to 1 if you have the <malloc/malloc.h> header file. */
#if __has_include(<malloc/malloc.h>)
#define HAVE_MALLOC_MALLOC_H 1
@@ -165,20 +166,12 @@
#define HAVE_MALLOC_ZONE_STATISTICS 1
#endif
-/* Define to 1 if you have the `posix_fallocate' function. */
-#if !defined(__APPLE__)
-#define HAVE_POSIX_FALLOCATE 1
-#endif
-
/* 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
@@ -203,9 +196,6 @@
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 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
@@ -249,12 +239,7 @@
* This is only needed for terminalHasColors(). When disabled LLVM falls back
* to checking a list of TERM prefixes which is sufficient for a bootstrap tool.
*/
-#define LLVM_ENABLE_TERMINFO 1
-#endif
-
-/* Define if the xar_open() function is supported this platform. */
-#if defined(__APPLE__)
-#define HAVE_LIBXAR
+#define LLVM_ENABLE_TERMINFO TRUE
#endif
/* Define to 1 if you have the <termios.h> header file. */
@@ -273,9 +258,7 @@
/* #undef HAVE__CHSIZE_S */
/* Define to 1 if you have the `_Unwind_Backtrace' function. */
-#if !defined(__FreeBSD__)
#define HAVE__UNWIND_BACKTRACE 1
-#endif
/* Have host's __alloca */
/* #undef HAVE___ALLOCA */
@@ -331,24 +314,14 @@
/* Linker version detected at compile time. */
/* #undef HOST_LINK_VERSION */
-/* 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 */
-
-/* Define if zlib compression is available */
-#define LLVM_ENABLE_ZLIB 1
-
/* Define if overriding target triple is enabled */
/* #undef LLVM_TARGET_TRIPLE_ENV */
-/* LLVM version information */
-/* #undef LLVM_VERSION_INFO */
-
/* Whether tools show host and target info when invoked with --version */
#define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
/* Define if libxml2 is supported on this platform. */
-/* #undef LLVM_LIBXML2_ENABLED */
+/* #undef LLVM_ENABLE_LIBXML2 */
/* Define to the extension used for shared libraries, say, ".so". */
#if defined(__APPLE__)
@@ -357,6 +330,13 @@
#define LTDL_SHLIB_EXT ".so"
#endif
+/* Define to the extension used for plugin libraries, say, ".so". */
+#if defined(__APPLE__)
+#define LLVM_PLUGIN_EXT ".dylib"
+#else
+#define LLVM_PLUGIN_EXT ".so"
+#endif
+
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
@@ -364,20 +344,14 @@
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 12.0.1"
+#define PACKAGE_STRING "LLVM 18.1.5"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "12.0.1"
+#define PACKAGE_VERSION "18.1.5"
/* Define to the vendor of this package. */
/* #undef PACKAGE_VENDOR */
-/* Define as the return type of signal handlers (`int' or `void'). */
-#define RETSIGTYPE void
-
-/* Define if std::is_trivially_copyable is supported */
-#define HAVE_STD_IS_TRIVIALLY_COPYABLE 1
-
/* Define to a function implementing stricmp */
/* #undef stricmp */
@@ -397,4 +371,8 @@
#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
#endif
+/* #undef HAVE_PROC_PID_RUSAGE */
+
+#define HAVE_BUILTIN_THREAD_POINTER 1
+
#endif