xref: /openbsd-src/gnu/usr.bin/clang/include/llvm/Config/config.h (revision 1ad61ae0a79a724d2d3ec69e69c8e1d1ff6b53a0)
10545c0e3Spascal /* include/llvm/Config/config.h.cmake corresponding to config.h.in. */
20545c0e3Spascal 
30545c0e3Spascal #ifndef CONFIG_H
40545c0e3Spascal #define CONFIG_H
50545c0e3Spascal 
6*1ad61ae0Srobert // Include this header only under the llvm source tree.
7*1ad61ae0Srobert // This is a private header.
8*1ad61ae0Srobert 
90545c0e3Spascal /* Exported configuration */
100545c0e3Spascal #include "llvm/Config/llvm-config.h"
110545c0e3Spascal 
120545c0e3Spascal /* Bug report URL. */
13*1ad61ae0Srobert #define BUG_REPORT_URL "https://github.com/llvm/llvm-project/issues/"
140545c0e3Spascal 
1503adc85bSpatrick /* Define to 1 to enable backtraces, and to 0 otherwise. */
16*1ad61ae0Srobert #define ENABLE_BACKTRACES 0
170545c0e3Spascal 
1803adc85bSpatrick /* Define to 1 to enable crash overrides, and to 0 otherwise. */
1903adc85bSpatrick #define ENABLE_CRASH_OVERRIDES 1
200545c0e3Spascal 
217350f337Spatrick /* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
227350f337Spatrick #define LLVM_ENABLE_CRASH_DUMPS 0
237350f337Spatrick 
24*1ad61ae0Srobert /* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
25*1ad61ae0Srobert    backslashes. */
26*1ad61ae0Srobert #define LLVM_WINDOWS_PREFER_FORWARD_SLASH 0
27*1ad61ae0Srobert 
280545c0e3Spascal /* Define to 1 if you have the `backtrace' function. */
290545c0e3Spascal /* #undef HAVE_BACKTRACE */
300545c0e3Spascal 
31f7631674Spatrick /* #undef BACKTRACE_HEADER */
32f7631674Spatrick 
330545c0e3Spascal /* Define to 1 if you have the <CrashReporterClient.h> header file. */
34*1ad61ae0Srobert /* #undef HAVE_CRASHREPORTERCLIENT_H */
350545c0e3Spascal 
360545c0e3Spascal /* can use __crashreporter_info__ */
3703adc85bSpatrick #define HAVE_CRASHREPORTER_INFO 0
3803adc85bSpatrick 
3903adc85bSpatrick /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
4003adc85bSpatrick    don't. */
4103adc85bSpatrick #define HAVE_DECL_ARC4RANDOM 1
4203adc85bSpatrick 
4303adc85bSpatrick /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
4403adc85bSpatrick    don't. */
4503adc85bSpatrick #define HAVE_DECL_FE_ALL_EXCEPT 1
4603adc85bSpatrick 
4703adc85bSpatrick /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
4803adc85bSpatrick    don't. */
4903adc85bSpatrick #define HAVE_DECL_FE_INEXACT 1
500545c0e3Spascal 
510545c0e3Spascal /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
520545c0e3Spascal    don't. */
530545c0e3Spascal #define HAVE_DECL_STRERROR_S 0
540545c0e3Spascal 
550545c0e3Spascal /* Define to 1 if you have the <dlfcn.h> header file. */
560545c0e3Spascal #define HAVE_DLFCN_H 1
570545c0e3Spascal 
580545c0e3Spascal /* Define if dlopen() is available on this platform. */
590545c0e3Spascal #define HAVE_DLOPEN 1
600545c0e3Spascal 
61f7631674Spatrick /* Define if dladdr() is available on this platform. */
62f7631674Spatrick #define HAVE_DLADDR 1
63f7631674Spatrick 
645a38ef86Spatrick /* test from libunwind */
655a38ef86Spatrick #if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \
665a38ef86Spatrick     !defined(__ARM_DWARF_EH__)
675a38ef86Spatrick /* Define to 1 if we can register EH frames on this platform. */
685a38ef86Spatrick /* #undef HAVE_REGISTER_FRAME */
695a38ef86Spatrick 
705a38ef86Spatrick /* Define to 1 if we can deregister EH frames on this platform. */
715a38ef86Spatrick /* #undef HAVE_DEREGISTER_FRAME */
725a38ef86Spatrick #else
735a38ef86Spatrick /* Define to 1 if we can register EH frames on this platform. */
745a38ef86Spatrick #define HAVE_REGISTER_FRAME 1
755a38ef86Spatrick 
765a38ef86Spatrick /* Define to 1 if we can deregister EH frames on this platform. */
775a38ef86Spatrick #define HAVE_DEREGISTER_FRAME 1
785a38ef86Spatrick #endif
795a38ef86Spatrick 
800545c0e3Spascal /* Define to 1 if you have the <errno.h> header file. */
810545c0e3Spascal #define HAVE_ERRNO_H 1
820545c0e3Spascal 
830545c0e3Spascal /* Define to 1 if you have the <fcntl.h> header file. */
840545c0e3Spascal #define HAVE_FCNTL_H 1
850545c0e3Spascal 
860545c0e3Spascal /* Define to 1 if you have the <fenv.h> header file. */
870545c0e3Spascal #define HAVE_FENV_H 1
880545c0e3Spascal 
890545c0e3Spascal /* Define if libffi is available on this platform. */
900545c0e3Spascal /* #undef HAVE_FFI_CALL */
910545c0e3Spascal 
920545c0e3Spascal /* Define to 1 if you have the <ffi/ffi.h> header file. */
930545c0e3Spascal /* #undef HAVE_FFI_FFI_H */
940545c0e3Spascal 
950545c0e3Spascal /* Define to 1 if you have the <ffi.h> header file. */
960545c0e3Spascal /* #undef HAVE_FFI_H */
970545c0e3Spascal 
9803adc85bSpatrick /* Define to 1 if you have the `futimens' function. */
9903adc85bSpatrick #define HAVE_FUTIMENS 1
10003adc85bSpatrick 
1010545c0e3Spascal /* Define to 1 if you have the `futimes' function. */
1020545c0e3Spascal #define HAVE_FUTIMES 1
1030545c0e3Spascal 
1040545c0e3Spascal /* Define to 1 if you have the `getpagesize' function. */
1050545c0e3Spascal #define HAVE_GETPAGESIZE 1
1060545c0e3Spascal 
1070545c0e3Spascal /* Define to 1 if you have the `getrlimit' function. */
1080545c0e3Spascal #define HAVE_GETRLIMIT 1
1090545c0e3Spascal 
1100545c0e3Spascal /* Define to 1 if you have the `getrusage' function. */
1110545c0e3Spascal #define HAVE_GETRUSAGE 1
1120545c0e3Spascal 
1130545c0e3Spascal /* Define to 1 if you have the `isatty' function. */
1140545c0e3Spascal #define HAVE_ISATTY 1
1150545c0e3Spascal 
11603adc85bSpatrick /* Define to 1 if you have the `edit' library (-ledit). */
117*1ad61ae0Srobert #define HAVE_LIBEDIT TRUE
1180545c0e3Spascal 
1194f0ddf55Spatrick /* Define to 1 if you have the `pfm' library (-lpfm). */
1204f0ddf55Spatrick /* #undef HAVE_LIBPFM */
1214f0ddf55Spatrick 
1225a38ef86Spatrick /* Define to 1 if the `perf_branch_entry' struct has field cycles. */
1235a38ef86Spatrick /* #undef LIBPFM_HAS_FIELD_CYCLES */
1245a38ef86Spatrick 
1250545c0e3Spascal /* Define to 1 if you have the `psapi' library (-lpsapi). */
1260545c0e3Spascal /* #undef HAVE_LIBPSAPI */
1270545c0e3Spascal 
1280545c0e3Spascal /* Define to 1 if you have the `pthread' library (-lpthread). */
1290545c0e3Spascal #define HAVE_LIBPTHREAD 1
1300545c0e3Spascal 
131aa997e52Spatrick /* Define to 1 if you have the `pthread_getname_np' function. */
132aa997e52Spatrick /* #undef HAVE_PTHREAD_GETNAME_NP */
133aa997e52Spatrick 
134aa997e52Spatrick /* Define to 1 if you have the `pthread_setname_np' function. */
135aa997e52Spatrick /* #undef HAVE_PTHREAD_SETNAME_NP */
136aa997e52Spatrick 
1370545c0e3Spascal /* Define to 1 if you have the <link.h> header file. */
138*1ad61ae0Srobert #define HAVE_LINK_H 1
1390545c0e3Spascal 
1400545c0e3Spascal /* Define to 1 if you have the <mach/mach.h> header file. */
1410545c0e3Spascal /* #undef HAVE_MACH_MACH_H */
1420545c0e3Spascal 
14303adc85bSpatrick /* Define to 1 if you have the `mallctl' function. */
14403adc85bSpatrick /* #undef HAVE_MALLCTL */
1450545c0e3Spascal 
146*1ad61ae0Srobert /* Define to 1 if you have the `mallinfo' function. */
1470545c0e3Spascal /* #undef HAVE_MALLINFO */
1480545c0e3Spascal 
1495a38ef86Spatrick /* Define to 1 if you have the `mallinfo2' function. */
1505a38ef86Spatrick /* #undef HAVE_MALLINFO2 */
1515a38ef86Spatrick 
1520545c0e3Spascal /* Define to 1 if you have the <malloc/malloc.h> header file. */
1530545c0e3Spascal /* #undef HAVE_MALLOC_MALLOC_H */
1540545c0e3Spascal 
1550545c0e3Spascal /* Define to 1 if you have the `malloc_zone_statistics' function. */
1560545c0e3Spascal /* #undef HAVE_MALLOC_ZONE_STATISTICS */
1570545c0e3Spascal 
1580545c0e3Spascal /* Define to 1 if you have the `posix_spawn' function. */
1590545c0e3Spascal #define HAVE_POSIX_SPAWN 1
1600545c0e3Spascal 
1610545c0e3Spascal /* Define to 1 if you have the `pread' function. */
1620545c0e3Spascal #define HAVE_PREAD 1
1630545c0e3Spascal 
1640545c0e3Spascal /* Define to 1 if you have the <pthread.h> header file. */
1650545c0e3Spascal #define HAVE_PTHREAD_H 1
1660545c0e3Spascal 
1670545c0e3Spascal /* Have pthread_mutex_lock */
1680545c0e3Spascal #define HAVE_PTHREAD_MUTEX_LOCK 1
1690545c0e3Spascal 
1700545c0e3Spascal /* Have pthread_rwlock_init */
1710545c0e3Spascal #define HAVE_PTHREAD_RWLOCK_INIT 1
1720545c0e3Spascal 
1730545c0e3Spascal /* Define to 1 if you have the `sbrk' function. */
1740545c0e3Spascal #define HAVE_SBRK 1
1750545c0e3Spascal 
1760545c0e3Spascal /* Define to 1 if you have the `setenv' function. */
1770545c0e3Spascal #define HAVE_SETENV 1
1780545c0e3Spascal 
1790545c0e3Spascal /* Define to 1 if you have the `setrlimit' function. */
1800545c0e3Spascal #define HAVE_SETRLIMIT 1
1810545c0e3Spascal 
182d4741794Spatrick /* Define to 1 if you have the `sigaltstack' function. */
183d4741794Spatrick #define HAVE_SIGALTSTACK 1
184d4741794Spatrick 
1850545c0e3Spascal /* Define to 1 if you have the <signal.h> header file. */
1860545c0e3Spascal #define HAVE_SIGNAL_H 1
1870545c0e3Spascal 
1880545c0e3Spascal /* Define to 1 if you have the `strerror' function. */
1890545c0e3Spascal #define HAVE_STRERROR 1
1900545c0e3Spascal 
1910545c0e3Spascal /* Define to 1 if you have the `strerror_r' function. */
1920545c0e3Spascal #define HAVE_STRERROR_R 1
1930545c0e3Spascal 
1940545c0e3Spascal /* Define to 1 if you have the `sysconf' function. */
195*1ad61ae0Srobert #define HAVE_SYSCONF 1
1960545c0e3Spascal 
1970545c0e3Spascal /* Define to 1 if you have the <sys/ioctl.h> header file. */
1980545c0e3Spascal #define HAVE_SYS_IOCTL_H 1
1990545c0e3Spascal 
2000545c0e3Spascal /* Define to 1 if you have the <sys/mman.h> header file. */
20103adc85bSpatrick #define HAVE_SYS_MMAN_H 1
2020545c0e3Spascal 
2030545c0e3Spascal /* Define to 1 if you have the <sys/param.h> header file. */
2040545c0e3Spascal #define HAVE_SYS_PARAM_H 1
2050545c0e3Spascal 
2060545c0e3Spascal /* Define to 1 if you have the <sys/resource.h> header file. */
2070545c0e3Spascal #define HAVE_SYS_RESOURCE_H 1
2080545c0e3Spascal 
2090545c0e3Spascal /* Define to 1 if you have the <sys/stat.h> header file. */
2100545c0e3Spascal #define HAVE_SYS_STAT_H 1
2110545c0e3Spascal 
2120545c0e3Spascal /* Define to 1 if you have the <sys/time.h> header file. */
2130545c0e3Spascal #define HAVE_SYS_TIME_H 1
2140545c0e3Spascal 
2157350f337Spatrick /* Define to 1 if stat struct has st_mtimespec member .*/
216*1ad61ae0Srobert #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
2177350f337Spatrick 
2187350f337Spatrick /* Define to 1 if stat struct has st_mtim member. */
2197350f337Spatrick #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
2207350f337Spatrick 
2210545c0e3Spascal /* Define to 1 if you have the <sys/types.h> header file. */
222*1ad61ae0Srobert #define HAVE_SYS_TYPES_H 1
2230545c0e3Spascal 
2240545c0e3Spascal /* Define if the setupterm() function is supported this platform. */
2255a38ef86Spatrick /* #undef LLVM_ENABLE_TERMINFO */
226d4741794Spatrick 
2270545c0e3Spascal /* Define to 1 if you have the <termios.h> header file. */
2280545c0e3Spascal #define HAVE_TERMIOS_H 1
2290545c0e3Spascal 
2300545c0e3Spascal /* Define to 1 if you have the <unistd.h> header file. */
2310545c0e3Spascal #define HAVE_UNISTD_H 1
2320545c0e3Spascal 
2330545c0e3Spascal /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
234*1ad61ae0Srobert /* #undef HAVE_VALGRIND_VALGRIND_H */
2350545c0e3Spascal 
2360545c0e3Spascal /* Have host's _alloca */
2370545c0e3Spascal /* #undef HAVE__ALLOCA */
2380545c0e3Spascal 
23903adc85bSpatrick /* Define to 1 if you have the `_chsize_s' function. */
24003adc85bSpatrick /* #undef HAVE__CHSIZE_S */
24103adc85bSpatrick 
24203adc85bSpatrick /* Define to 1 if you have the `_Unwind_Backtrace' function. */
24303adc85bSpatrick /* #undef HAVE__UNWIND_BACKTRACE */
24403adc85bSpatrick 
2450545c0e3Spascal /* Have host's __alloca */
2460545c0e3Spascal /* #undef HAVE___ALLOCA */
2470545c0e3Spascal 
2480545c0e3Spascal /* Have host's __ashldi3 */
2490545c0e3Spascal /* #undef HAVE___ASHLDI3 */
2500545c0e3Spascal 
2510545c0e3Spascal /* Have host's __ashrdi3 */
2520545c0e3Spascal /* #undef HAVE___ASHRDI3 */
2530545c0e3Spascal 
2540545c0e3Spascal /* Have host's __chkstk */
2550545c0e3Spascal /* #undef HAVE___CHKSTK */
2560545c0e3Spascal 
2570545c0e3Spascal /* Have host's __chkstk_ms */
2580545c0e3Spascal /* #undef HAVE___CHKSTK_MS */
2590545c0e3Spascal 
2600545c0e3Spascal /* Have host's __cmpdi2 */
2610545c0e3Spascal /* #undef HAVE___CMPDI2 */
2620545c0e3Spascal 
2630545c0e3Spascal /* Have host's __divdi3 */
2640545c0e3Spascal /* #undef HAVE___DIVDI3 */
2650545c0e3Spascal 
2660545c0e3Spascal /* Have host's __fixdfdi */
2670545c0e3Spascal /* #undef HAVE___FIXDFDI */
2680545c0e3Spascal 
2690545c0e3Spascal /* Have host's __fixsfdi */
2700545c0e3Spascal /* #undef HAVE___FIXSFDI */
2710545c0e3Spascal 
2720545c0e3Spascal /* Have host's __floatdidf */
2730545c0e3Spascal /* #undef HAVE___FLOATDIDF */
2740545c0e3Spascal 
2750545c0e3Spascal /* Have host's __lshrdi3 */
2760545c0e3Spascal /* #undef HAVE___LSHRDI3 */
2770545c0e3Spascal 
2780545c0e3Spascal /* Have host's __main */
2790545c0e3Spascal /* #undef HAVE___MAIN */
2800545c0e3Spascal 
2810545c0e3Spascal /* Have host's __moddi3 */
2820545c0e3Spascal /* #undef HAVE___MODDI3 */
2830545c0e3Spascal 
2840545c0e3Spascal /* Have host's __udivdi3 */
2850545c0e3Spascal /* #undef HAVE___UDIVDI3 */
2860545c0e3Spascal 
2870545c0e3Spascal /* Have host's __umoddi3 */
2880545c0e3Spascal /* #undef HAVE___UMODDI3 */
2890545c0e3Spascal 
2900545c0e3Spascal /* Have host's ___chkstk */
2910545c0e3Spascal /* #undef HAVE____CHKSTK */
2920545c0e3Spascal 
2930545c0e3Spascal /* Have host's ___chkstk_ms */
2940545c0e3Spascal /* #undef HAVE____CHKSTK_MS */
2950545c0e3Spascal 
2960545c0e3Spascal /* Linker version detected at compile time. */
29703adc85bSpatrick /* #undef HOST_LINK_VERSION */
2980545c0e3Spascal 
299f7631674Spatrick /* Define if overriding target triple is enabled */
300f7631674Spatrick /* #undef LLVM_TARGET_TRIPLE_ENV */
3010545c0e3Spascal 
302f7631674Spatrick /* Whether tools show host and target info when invoked with --version */
303f7631674Spatrick #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
304f7631674Spatrick 
305aa997e52Spatrick /* Define if libxml2 is supported on this platform. */
3065a38ef86Spatrick /* #undef LLVM_ENABLE_LIBXML2 */
3070545c0e3Spascal 
3080545c0e3Spascal /* Define to the extension used for shared libraries, say, ".so". */
3090545c0e3Spascal #define LTDL_SHLIB_EXT ".so"
3100545c0e3Spascal 
3115a38ef86Spatrick /* Define to the extension used for plugin libraries, say, ".so". */
3125a38ef86Spatrick #define LLVM_PLUGIN_EXT ".so"
3135a38ef86Spatrick 
3140545c0e3Spascal /* Define to the address where bug reports for this package should be sent. */
315*1ad61ae0Srobert #define PACKAGE_BUGREPORT "https://github.com/llvm/llvm-project/issues/"
3160545c0e3Spascal 
3170545c0e3Spascal /* Define to the full name of this package. */
3180545c0e3Spascal #define PACKAGE_NAME "LLVM"
3190545c0e3Spascal 
3200545c0e3Spascal /* Define to the full name and version of this package. */
321*1ad61ae0Srobert #define PACKAGE_STRING "LLVM 16.0.6"
3220545c0e3Spascal 
3230545c0e3Spascal /* Define to the version of this package. */
324*1ad61ae0Srobert #define PACKAGE_VERSION "16.0.6"
325d4741794Spatrick 
326d4741794Spatrick /* Define to the vendor of this package. */
327d4741794Spatrick /* #undef PACKAGE_VENDOR */
3280545c0e3Spascal 
3290545c0e3Spascal /* Define to a function implementing stricmp */
3300545c0e3Spascal /* #undef stricmp */
3310545c0e3Spascal 
3320545c0e3Spascal /* Define to a function implementing strdup */
3330545c0e3Spascal /* #undef strdup */
3340545c0e3Spascal 
335aa997e52Spatrick /* Whether GlobalISel rule coverage is being collected */
336aa997e52Spatrick #define LLVM_GISEL_COV_ENABLED 0
337aa997e52Spatrick 
338aa997e52Spatrick /* Define to the default GlobalISel coverage file prefix */
339aa997e52Spatrick /* #undef LLVM_GISEL_COV_PREFIX */
340aa997e52Spatrick 
341*1ad61ae0Srobert /* Whether Timers signpost passes in Xcode Instruments */
342*1ad61ae0Srobert #define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
343*1ad61ae0Srobert 
3445a38ef86Spatrick /* #undef HAVE_PROC_PID_RUSAGE */
345aa1fa3d4Spatrick 
3460545c0e3Spascal #endif
347