306 lines · plain
1#ifndef CONFIG_H2#define CONFIG_H3 4// Include this header only under the llvm source tree.5// This is a private header.6 7/* Exported configuration */8#include "llvm/Config/llvm-config.h"9 10/* Bug report URL. */11#define BUG_REPORT_URL "${BUG_REPORT_URL}"12 13/* Define to 1 to enable backtraces, and to 0 otherwise. */14#cmakedefine01 ENABLE_BACKTRACES15 16/* Define to 1 to enable crash overrides, and to 0 otherwise. */17#cmakedefine01 ENABLE_CRASH_OVERRIDES18 19/* Define to 1 to enable crash memory dumps, and to 0 otherwise. */20#cmakedefine01 LLVM_ENABLE_CRASH_DUMPS21 22/* Define to 1 to prefer forward slashes on Windows, and to 0 prefer23 backslashes. */24#cmakedefine01 LLVM_WINDOWS_PREFER_FORWARD_SLASH25 26/* Define to 1 if you have the `backtrace' function. */27#cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}28 29#define BACKTRACE_HEADER <${BACKTRACE_HEADER}>30 31/* Define to 1 if you have the <CrashReporterClient.h> header file. */32#cmakedefine HAVE_CRASHREPORTERCLIENT_H33 34/* can use __crashreporter_info__ */35#cmakedefine01 HAVE_CRASHREPORTER_INFO36 37/* Define to 1 if you have the declaration of `arc4random', and to 0 if you38 don't. */39#cmakedefine01 HAVE_DECL_ARC4RANDOM40 41/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you42 don't. */43#cmakedefine01 HAVE_DECL_FE_ALL_EXCEPT44 45/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you46 don't. */47#cmakedefine01 HAVE_DECL_FE_INEXACT48 49/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you50 don't. */51#cmakedefine01 HAVE_DECL_STRERROR_S52 53/* Define if dlopen() is available on this platform. */54#cmakedefine HAVE_DLOPEN ${HAVE_DLOPEN}55 56/* Define to 1 if we can register EH frames on this platform. */57#cmakedefine HAVE_REGISTER_FRAME ${HAVE_REGISTER_FRAME}58 59/* Define to 1 if we can deregister EH frames on this platform. */60#cmakedefine HAVE_DEREGISTER_FRAME ${HAVE_DEREGISTER_FRAME}61 62/* Define if __unw_add_dynamic_fde() is available on this platform. */63#cmakedefine HAVE_UNW_ADD_DYNAMIC_FDE ${HAVE_UNW_ADD_DYNAMIC_FDE}64 65/* Define if libffi is available on this platform. */66#cmakedefine HAVE_FFI_CALL ${HAVE_FFI_CALL}67 68/* Define to 1 if you have the <ffi/ffi.h> header file. */69#cmakedefine HAVE_FFI_FFI_H ${HAVE_FFI_FFI_H}70 71/* Define to 1 if you have the <ffi.h> header file. */72#cmakedefine HAVE_FFI_H ${HAVE_FFI_H}73 74/* Define to 1 if you have the `futimens' function. */75#cmakedefine HAVE_FUTIMENS ${HAVE_FUTIMENS}76 77/* Define to 1 if you have the `futimes' function. */78#cmakedefine HAVE_FUTIMES ${HAVE_FUTIMES}79 80/* Define to 1 if you have the `getpagesize' function. */81#cmakedefine HAVE_GETPAGESIZE ${HAVE_GETPAGESIZE}82 83/* Define to 1 if you have the `getrusage' function. */84#cmakedefine HAVE_GETRUSAGE ${HAVE_GETRUSAGE}85 86/* Define to 1 if you have the `isatty' function. */87#cmakedefine HAVE_ISATTY 188 89/* Define to 1 if you have the `edit' library (-ledit). */90#cmakedefine HAVE_LIBEDIT ${HAVE_LIBEDIT}91 92/* Define to 1 if you have the `pfm' library (-lpfm). */93#cmakedefine HAVE_LIBPFM ${HAVE_LIBPFM}94 95/* Define to 1 if the `perf_branch_entry' struct has field cycles. */96#cmakedefine LIBPFM_HAS_FIELD_CYCLES ${LIBPFM_HAS_FIELD_CYCLES}97 98/* Define to 1 if you have the `psapi' library (-lpsapi). */99#cmakedefine HAVE_LIBPSAPI ${HAVE_LIBPSAPI}100 101/* Define to 1 if you have the `pthread' library (-lpthread). */102#cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD}103 104/* Define to 1 if you have the `pthread_getname_np' function. */105#cmakedefine HAVE_PTHREAD_GETNAME_NP ${HAVE_PTHREAD_GETNAME_NP}106 107/* Define to 1 if you have the `pthread_setname_np' function. */108#cmakedefine HAVE_PTHREAD_SETNAME_NP ${HAVE_PTHREAD_SETNAME_NP}109 110/* Define to 1 if you have the `pthread_get_name_np' function. */111#cmakedefine HAVE_PTHREAD_GET_NAME_NP ${HAVE_PTHREAD_GET_NAME_NP}112 113/* Define to 1 if you have the `pthread_set_name_np' function. */114#cmakedefine HAVE_PTHREAD_SET_NAME_NP ${HAVE_PTHREAD_SET_NAME_NP}115 116/* Define to 1 if you have the <mach/mach.h> header file. */117#cmakedefine HAVE_MACH_MACH_H ${HAVE_MACH_MACH_H}118 119/* Define to 1 if you have the `mallctl' function. */120#cmakedefine HAVE_MALLCTL ${HAVE_MALLCTL}121 122/* Define to 1 if you have the `mallinfo' function. */123#cmakedefine HAVE_MALLINFO ${HAVE_MALLINFO}124 125/* Define to 1 if you have the `mallinfo2' function. */126#cmakedefine HAVE_MALLINFO2 ${HAVE_MALLINFO2}127 128/* Define to 1 if you have the <malloc/malloc.h> header file. */129#cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H}130 131/* Define to 1 if you have the `malloc_zone_statistics' function. */132#cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS}133 134/* Define to 1 if you have the `posix_spawn' function. */135#cmakedefine HAVE_POSIX_SPAWN ${HAVE_POSIX_SPAWN}136 137/* Define to 1 if you have the `pread' function. */138#cmakedefine HAVE_PREAD ${HAVE_PREAD}139 140/* Define to 1 if you have the <pthread.h> header file. */141#cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}142 143/* Have pthread_mutex_lock */144#cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}145 146/* Have pthread_rwlock_init */147#cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT}148 149/* Define to 1 if you have the `sbrk' function. */150#cmakedefine HAVE_SBRK ${HAVE_SBRK}151 152/* Define to 1 if you have the `setenv' function. */153#cmakedefine HAVE_SETENV ${HAVE_SETENV}154 155/* Define to 1 if you have the `sigaltstack' function. */156#cmakedefine HAVE_SIGALTSTACK ${HAVE_SIGALTSTACK}157 158/* Define to 1 if you have the `strerror_r' function. */159#cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R}160 161/* Define to 1 if you have the `sysconf' function. */162#cmakedefine HAVE_SYSCONF ${HAVE_SYSCONF}163 164/* Define to 1 if you have the <sys/mman.h> header file. */165#cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}166 167/* Define to 1 if you have the <sys/ioctl.h> header file. */168#cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H}169 170/* Define to 1 if stat struct has st_mtimespec member .*/171#cmakedefine HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC}172 173/* Define to 1 if stat struct has st_mtim member. */174#cmakedefine HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC}175 176/* Define to 1 if you have the <unistd.h> header file. */177#cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H}178 179/* Define to 1 if you have the <valgrind/valgrind.h> header file. */180#cmakedefine HAVE_VALGRIND_VALGRIND_H ${HAVE_VALGRIND_VALGRIND_H}181 182/* Have host's _alloca */183#cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA}184 185/* Define to 1 if you have the `_chsize_s' function. */186#cmakedefine HAVE__CHSIZE_S ${HAVE__CHSIZE_S}187 188/* Define to 1 if you have the `_Unwind_Backtrace' function. */189#cmakedefine HAVE__UNWIND_BACKTRACE ${HAVE__UNWIND_BACKTRACE}190 191/* Have host's __alloca */192#cmakedefine HAVE___ALLOCA ${HAVE___ALLOCA}193 194/* Have host's __ashldi3 */195#cmakedefine HAVE___ASHLDI3 ${HAVE___ASHLDI3}196 197/* Have host's __ashrdi3 */198#cmakedefine HAVE___ASHRDI3 ${HAVE___ASHRDI3}199 200/* Have host's __chkstk */201#cmakedefine HAVE___CHKSTK ${HAVE___CHKSTK}202 203/* Have host's __chkstk_ms */204#cmakedefine HAVE___CHKSTK_MS ${HAVE___CHKSTK_MS}205 206/* Have host's __cmpdi2 */207#cmakedefine HAVE___CMPDI2 ${HAVE___CMPDI2}208 209/* Have host's __divdi3 */210#cmakedefine HAVE___DIVDI3 ${HAVE___DIVDI3}211 212/* Have host's __fixdfdi */213#cmakedefine HAVE___FIXDFDI ${HAVE___FIXDFDI}214 215/* Have host's __fixsfdi */216#cmakedefine HAVE___FIXSFDI ${HAVE___FIXSFDI}217 218/* Have host's __floatdidf */219#cmakedefine HAVE___FLOATDIDF ${HAVE___FLOATDIDF}220 221/* Have host's __lshrdi3 */222#cmakedefine HAVE___LSHRDI3 ${HAVE___LSHRDI3}223 224/* Have host's __main */225#cmakedefine HAVE___MAIN ${HAVE___MAIN}226 227/* Have host's __moddi3 */228#cmakedefine HAVE___MODDI3 ${HAVE___MODDI3}229 230/* Have host's __udivdi3 */231#cmakedefine HAVE___UDIVDI3 ${HAVE___UDIVDI3}232 233/* Have host's __umoddi3 */234#cmakedefine HAVE___UMODDI3 ${HAVE___UMODDI3}235 236/* Have host's ___chkstk */237#cmakedefine HAVE____CHKSTK ${HAVE____CHKSTK}238 239/* Have host's ___chkstk_ms */240#cmakedefine HAVE____CHKSTK_MS ${HAVE____CHKSTK_MS}241 242/* Define if ICU library is available */243#cmakedefine01 HAVE_ICU244 245/* Define if iconv library is available */246#cmakedefine01 HAVE_ICONV247 248/* Linker version detected at compile time. */249#cmakedefine HOST_LINK_VERSION "${HOST_LINK_VERSION}"250 251/* Define if overriding target triple is enabled */252#cmakedefine LLVM_TARGET_TRIPLE_ENV "${LLVM_TARGET_TRIPLE_ENV}"253 254/* Whether tools show host and target info when invoked with --version */255#cmakedefine01 LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO256 257/* Whether tools show optional build config flags when invoked with --version */258#cmakedefine01 LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG259 260/* Define if libxml2 is supported on this platform. */261#cmakedefine LLVM_ENABLE_LIBXML2 ${LLVM_ENABLE_LIBXML2}262 263/* Define to the extension used for shared libraries, say, ".so". */264#cmakedefine LTDL_SHLIB_EXT "${LTDL_SHLIB_EXT}"265 266/* Define to the extension used for plugin libraries, say, ".so". */267#cmakedefine LLVM_PLUGIN_EXT "${LLVM_PLUGIN_EXT}"268 269/* Define to the address where bug reports for this package should be sent. */270#cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"271 272/* Define to the full name of this package. */273#cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"274 275/* Define to the full name and version of this package. */276#cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"277 278/* Define to the version of this package. */279#cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"280 281/* Define to the vendor of this package. */282#cmakedefine PACKAGE_VENDOR "${PACKAGE_VENDOR}"283 284/* Define to a function implementing stricmp */285#cmakedefine stricmp ${stricmp}286 287/* Define to a function implementing strdup */288#cmakedefine strdup ${strdup}289 290/* Whether GlobalISel rule coverage is being collected */291#cmakedefine01 LLVM_GISEL_COV_ENABLED292 293/* Define to the default GlobalISel coverage file prefix */294#cmakedefine LLVM_GISEL_COV_PREFIX "${LLVM_GISEL_COV_PREFIX}"295 296/* Whether Timers signpost passes in Xcode Instruments */297#cmakedefine01 LLVM_SUPPORT_XCODE_SIGNPOSTS298 299#cmakedefine HAVE_PROC_PID_RUSAGE 1300 301#cmakedefine HAVE_BUILTIN_THREAD_POINTER ${HAVE_BUILTIN_THREAD_POINTER}302 303#cmakedefine HAVE_GETAUXVAL ${HAVE_GETAUXVAL}304 305#endif306