Path: blob/main/lib/clang/include/llvm/Config/config.h
35231 views
#ifndef CONFIG_H1#define CONFIG_H23// Include this header only under the llvm source tree.4// This is a private header.56/* Exported configuration */7#include "llvm/Config/llvm-config.h"89/* Bug report URL. */10#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"1112/* Define to 1 to enable backtraces, and to 0 otherwise. */13#define ENABLE_BACKTRACES 11415/* Define to 1 to enable crash overrides, and to 0 otherwise. */16#define ENABLE_CRASH_OVERRIDES 11718/* Define to 1 to enable crash memory dumps, and to 0 otherwise. */19#define LLVM_ENABLE_CRASH_DUMPS 02021/* Define to 1 to prefer forward slashes on Windows, and to 0 prefer22backslashes. */23#define LLVM_WINDOWS_PREFER_FORWARD_SLASH 02425/* Define to 1 if you have the `backtrace' function. */26#define HAVE_BACKTRACE TRUE2728#define BACKTRACE_HEADER <execinfo.h>2930/* Define to 1 if you have the <CrashReporterClient.h> header file. */31/* #undef HAVE_CRASHREPORTERCLIENT_H */3233/* can use __crashreporter_info__ */34#if defined(__APPLE__)35#define HAVE_CRASHREPORTER_INFO 136#else37#define HAVE_CRASHREPORTER_INFO 038#endif3940/* Define to 1 if you have the declaration of `arc4random', and to 0 if you41don't. */42#define HAVE_DECL_ARC4RANDOM 14344/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you45don't. */46#define HAVE_DECL_FE_ALL_EXCEPT 14748/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you49don't. */50#define HAVE_DECL_FE_INEXACT 15152/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you53don't. */54#define HAVE_DECL_STRERROR_S 05556/* Define to 1 if you have the <dlfcn.h> header file. */57#define HAVE_DLFCN_H 15859/* Define if dlopen() is available on this platform. */60#define HAVE_DLOPEN 16162/* Define if dladdr() is available on this platform. */63#define HAVE_DLADDR 16465#if !defined(__arm__) || defined(__USING_SJLJ_EXCEPTIONS__) || defined(__ARM_DWARF_EH__)66/* Define to 1 if we can register EH frames on this platform. */67#define HAVE_REGISTER_FRAME 16869/* Define to 1 if we can deregister EH frames on this platform. */70#define HAVE_DEREGISTER_FRAME 171#endif // !arm || USING_SJLJ_EXCEPTIONS || ARM_DWARF_EH_7273/* Define if __unw_add_dynamic_fde() is available on this platform. */74/* #undef HAVE_UNW_ADD_DYNAMIC_FDE */7576/* Define to 1 if you have the <errno.h> header file. */77#define HAVE_ERRNO_H 17879/* Define to 1 if you have the <fcntl.h> header file. */80#define HAVE_FCNTL_H 18182/* Define to 1 if you have the <fenv.h> header file. */83#define HAVE_FENV_H 18485/* Define if libffi is available on this platform. */86/* #undef HAVE_FFI_CALL */8788/* Define to 1 if you have the <ffi/ffi.h> header file. */89/* #undef HAVE_FFI_FFI_H */9091/* Define to 1 if you have the <ffi.h> header file. */92/* #undef HAVE_FFI_H */9394/* Define to 1 if you have the `futimens' function. */95#define HAVE_FUTIMENS 19697/* Define to 1 if you have the `futimes' function. */98#define HAVE_FUTIMES 199100/* Define to 1 if you have the `getpagesize' function. */101#define HAVE_GETPAGESIZE 1102103/* Define to 1 if you have the `getrlimit' function. */104#define HAVE_GETRLIMIT 1105106/* Define to 1 if you have the `getrusage' function. */107#define HAVE_GETRUSAGE 1108109/* Define to 1 if you have the `isatty' function. */110#define HAVE_ISATTY 1111112/* Define to 1 if you have the `edit' library (-ledit). */113#define HAVE_LIBEDIT TRUE114115/* Define to 1 if you have the `pfm' library (-lpfm). */116/* #undef HAVE_LIBPFM */117118/* Define to 1 if the `perf_branch_entry' struct has field cycles. */119/* #undef LIBPFM_HAS_FIELD_CYCLES */120121/* Define to 1 if you have the `psapi' library (-lpsapi). */122/* #undef HAVE_LIBPSAPI */123124/* Define to 1 if you have the `pthread' library (-lpthread). */125#define HAVE_LIBPTHREAD 1126127/* Define to 1 if you have the `pthread_getname_np' function. */128#define HAVE_PTHREAD_GETNAME_NP 1129130/* Define to 1 if you have the `pthread_setname_np' function. */131#define HAVE_PTHREAD_SETNAME_NP 1132133/* Define to 1 if you have the <link.h> header file. */134#if __has_include(<link.h>)135#define HAVE_LINK_H 1136#else137#define HAVE_LINK_H 0138#endif139140/* Define to 1 if you have the <mach/mach.h> header file. */141#if __has_include(<mach/mach.h>)142#define HAVE_MACH_MACH_H 1143#endif144145/* Define to 1 if you have the `mallctl' function. */146#if defined(__FreeBSD__)147#define HAVE_MALLCTL 1148#endif149150/* Define to 1 if you have the `mallinfo' function. */151#if defined(__linux__)152#define HAVE_MALLINFO 1153#endif154155/* Define to 1 if you have the `mallinfo2' function. */156/* #undef HAVE_MALLINFO2 */157158/* Define to 1 if you have the <malloc/malloc.h> header file. */159#if __has_include(<malloc/malloc.h>)160#define HAVE_MALLOC_MALLOC_H 1161#endif162163/* Define to 1 if you have the `malloc_zone_statistics' function. */164#if defined(__APPLE__)165#define HAVE_MALLOC_ZONE_STATISTICS 1166#endif167168/* Define to 1 if you have the `posix_spawn' function. */169#define HAVE_POSIX_SPAWN 1170171/* Define to 1 if you have the `pread' function. */172#define HAVE_PREAD 1173174/* Define to 1 if you have the <pthread.h> header file. */175#define HAVE_PTHREAD_H 1176177/* Have pthread_mutex_lock */178#define HAVE_PTHREAD_MUTEX_LOCK 1179180/* Have pthread_rwlock_init */181#define HAVE_PTHREAD_RWLOCK_INIT 1182183/* Define to 1 if you have the `sbrk' function. */184#define HAVE_SBRK 1185186/* Define to 1 if you have the `setenv' function. */187#define HAVE_SETENV 1188189/* Define to 1 if you have the `setrlimit' function. */190#define HAVE_SETRLIMIT 1191192/* Define to 1 if you have the `sigaltstack' function. */193#define HAVE_SIGALTSTACK 1194195/* Define to 1 if you have the <signal.h> header file. */196#define HAVE_SIGNAL_H 1197198/* Define to 1 if you have the `strerror_r' function. */199#define HAVE_STRERROR_R 1200201/* Define to 1 if you have the `sysconf' function. */202#define HAVE_SYSCONF 1203204/* Define to 1 if you have the <sys/ioctl.h> header file. */205#define HAVE_SYS_IOCTL_H 1206207/* Define to 1 if you have the <sys/mman.h> header file. */208#define HAVE_SYS_MMAN_H 1209210/* Define to 1 if you have the <sys/param.h> header file. */211#define HAVE_SYS_PARAM_H 1212213/* Define to 1 if you have the <sys/resource.h> header file. */214#define HAVE_SYS_RESOURCE_H 1215216/* Define to 1 if you have the <sys/stat.h> header file. */217#define HAVE_SYS_STAT_H 1218219/* Define to 1 if you have the <sys/time.h> header file. */220#define HAVE_SYS_TIME_H 1221222/* Define to 1 if stat struct has st_mtimespec member .*/223#if !defined(__linux__)224#define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1225#endif226227/* Define to 1 if stat struct has st_mtim member. */228#if !defined(__APPLE__)229#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1230#endif231232/* Define to 1 if you have the <sys/types.h> header file. */233#define HAVE_SYS_TYPES_H 1234235/* Define to 1 if you have the <termios.h> header file. */236#define HAVE_TERMIOS_H 1237238/* Define to 1 if you have the <unistd.h> header file. */239#define HAVE_UNISTD_H 1240241/* Define to 1 if you have the <valgrind/valgrind.h> header file. */242/* #undef HAVE_VALGRIND_VALGRIND_H */243244/* Have host's _alloca */245/* #undef HAVE__ALLOCA */246247/* Define to 1 if you have the `_chsize_s' function. */248/* #undef HAVE__CHSIZE_S */249250/* Define to 1 if you have the `_Unwind_Backtrace' function. */251#define HAVE__UNWIND_BACKTRACE 1252253/* Have host's __alloca */254/* #undef HAVE___ALLOCA */255256/* Have host's __ashldi3 */257/* #undef HAVE___ASHLDI3 */258259/* Have host's __ashrdi3 */260/* #undef HAVE___ASHRDI3 */261262/* Have host's __chkstk */263/* #undef HAVE___CHKSTK */264265/* Have host's __chkstk_ms */266/* #undef HAVE___CHKSTK_MS */267268/* Have host's __cmpdi2 */269/* #undef HAVE___CMPDI2 */270271/* Have host's __divdi3 */272/* #undef HAVE___DIVDI3 */273274/* Have host's __fixdfdi */275/* #undef HAVE___FIXDFDI */276277/* Have host's __fixsfdi */278/* #undef HAVE___FIXSFDI */279280/* Have host's __floatdidf */281/* #undef HAVE___FLOATDIDF */282283/* Have host's __lshrdi3 */284/* #undef HAVE___LSHRDI3 */285286/* Have host's __main */287/* #undef HAVE___MAIN */288289/* Have host's __moddi3 */290/* #undef HAVE___MODDI3 */291292/* Have host's __udivdi3 */293/* #undef HAVE___UDIVDI3 */294295/* Have host's __umoddi3 */296/* #undef HAVE___UMODDI3 */297298/* Have host's ___chkstk */299/* #undef HAVE____CHKSTK */300301/* Have host's ___chkstk_ms */302/* #undef HAVE____CHKSTK_MS */303304/* Linker version detected at compile time. */305/* #undef HOST_LINK_VERSION */306307/* Define if overriding target triple is enabled */308/* #undef LLVM_TARGET_TRIPLE_ENV */309310/* Whether tools show host and target info when invoked with --version */311#define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1312313/* Whether tools show optional build config flags when invoked with --version */314#define LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG 1315316/* Define if libxml2 is supported on this platform. */317/* #undef LLVM_ENABLE_LIBXML2 */318319/* Define to the extension used for shared libraries, say, ".so". */320#if defined(__APPLE__)321#define LTDL_SHLIB_EXT ".dylib"322#else323#define LTDL_SHLIB_EXT ".so"324#endif325326/* Define to the extension used for plugin libraries, say, ".so". */327#if defined(__APPLE__)328#define LLVM_PLUGIN_EXT ".dylib"329#else330#define LLVM_PLUGIN_EXT ".so"331#endif332333/* Define to the address where bug reports for this package should be sent. */334#define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"335336/* Define to the full name of this package. */337#define PACKAGE_NAME "LLVM"338339/* Define to the full name and version of this package. */340#define PACKAGE_STRING "LLVM 19.1.7"341342/* Define to the version of this package. */343#define PACKAGE_VERSION "19.1.7"344345/* Define to the vendor of this package. */346/* #undef PACKAGE_VENDOR */347348/* Define to a function implementing stricmp */349/* #undef stricmp */350351/* Define to a function implementing strdup */352/* #undef strdup */353354/* Whether GlobalISel rule coverage is being collected */355#define LLVM_GISEL_COV_ENABLED 0356357/* Define to the default GlobalISel coverage file prefix */358/* #undef LLVM_GISEL_COV_PREFIX */359360/* Whether Timers signpost passes in Xcode Instruments */361#if defined(__APPLE__)362#define LLVM_SUPPORT_XCODE_SIGNPOSTS 1363#else364#define LLVM_SUPPORT_XCODE_SIGNPOSTS 0365#endif366367/* #undef HAVE_PROC_PID_RUSAGE */368369#define HAVE_BUILTIN_THREAD_POINTER 1370371#endif372373374