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