1 #ifndef CONFIG_H 2 #define CONFIG_H 3 4 /* Exported configuration */ 5 #include "llvm/Config/llvm-config.h" 6 7 /* For detecting __GLIBC__ usage */ 8 #include <features.h> 9 10 /* Bug report URL. */ 11 #define BUG_REPORT_URL "http://llvm.org/bugs/" 12 13 /* Define to 1 to enable backtraces, and to 0 otherwise. */ 14 #define ENABLE_BACKTRACES 0 15 16 /* Define to 1 to enable crash overrides, and to 0 otherwise. */ 17 #define ENABLE_CRASH_OVERRIDES 0 18 19 /* Define to 1 if you have the `backtrace' function. */ 20 #define HAVE_BACKTRACE 1 21 22 /* Define to 1 if you have the <CrashReporterClient.h> header file. */ 23 /* #undef HAVE_CRASHREPORTERCLIENT_H */ 24 25 /* can use __crashreporter_info__ */ 26 #define HAVE_CRASHREPORTER_INFO 0 27 28 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you 29 don't. */ 30 #define HAVE_DECL_ARC4RANDOM 0 31 32 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you 33 don't. */ 34 #define HAVE_DECL_FE_ALL_EXCEPT 1 35 36 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you 37 don't. */ 38 #define HAVE_DECL_FE_INEXACT 1 39 40 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you 41 don't. */ 42 #define HAVE_DECL_STRERROR_S 0 43 44 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 45 #define HAVE_DIA_SDK 0 46 47 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 48 */ 49 #define HAVE_DIRENT_H 1 50 51 /* Define to 1 if you have the <dlfcn.h> header file. */ 52 #define HAVE_DLFCN_H 1 53 54 /* Define if dlopen() is available on this platform. */ 55 #define HAVE_DLOPEN 1 56 57 /* Define to 1 if you have the <errno.h> header file. */ 58 #define HAVE_ERRNO_H 1 59 60 /* Define to 1 if you have the <execinfo.h> header file. */ 61 #define HAVE_EXECINFO_H 1 62 63 /* Define to 1 if you have the <fcntl.h> header file. */ 64 #define HAVE_FCNTL_H 1 65 66 /* Define to 1 if you have the <fenv.h> header file. */ 67 #define HAVE_FENV_H 1 68 69 /* Define if libffi is available on this platform. */ 70 /* #undef HAVE_FFI_CALL */ 71 72 /* Define to 1 if you have the <ffi/ffi.h> header file. */ 73 /* #undef HAVE_FFI_FFI_H */ 74 75 /* Define to 1 if you have the <ffi.h> header file. */ 76 /* #undef HAVE_FFI_H */ 77 78 /* Define to 1 if you have the `futimens' function. */ 79 #define HAVE_FUTIMENS 1 80 81 /* Define to 1 if you have the `futimes' function. */ 82 #define HAVE_FUTIMES 1 83 84 /* Define to 1 if you have the `getcwd' function. */ 85 #define HAVE_GETCWD 1 86 87 /* Define to 1 if you have the `getpagesize' function. */ 88 #define HAVE_GETPAGESIZE 1 89 90 /* Define to 1 if you have the `getrlimit' function. */ 91 #define HAVE_GETRLIMIT 1 92 93 /* Define to 1 if you have the `getrusage' function. */ 94 #define HAVE_GETRUSAGE 1 95 96 /* Define to 1 if you have the `gettimeofday' function. */ 97 #define HAVE_GETTIMEOFDAY 1 98 99 /* Define to 1 if the system has the type `int64_t'. */ 100 #define HAVE_INT64_T 1 101 102 /* Define to 1 if you have the <inttypes.h> header file. */ 103 #define HAVE_INTTYPES_H 1 104 105 /* Define to 1 if you have the `isatty' function. */ 106 #define HAVE_ISATTY 1 107 108 /* Define to 1 if you have the `edit' library (-ledit). */ 109 /* #undef HAVE_LIBEDIT */ 110 111 /* Define to 1 if you have the `psapi' library (-lpsapi). */ 112 /* #undef HAVE_LIBPSAPI */ 113 114 /* Define to 1 if you have the `pthread' library (-lpthread). */ 115 #define HAVE_LIBPTHREAD 1 116 117 /* Define to 1 if you have the `shell32' library (-lshell32). */ 118 /* #undef HAVE_LIBSHELL32 */ 119 120 /* Define to 1 if you have the `z' library (-lz). */ 121 #define HAVE_LIBZ 1 122 123 /* Define to 1 if you have the <link.h> header file. */ 124 #define HAVE_LINK_H 1 125 126 /* Define to 1 if you have the `lseek64' function. */ 127 #define HAVE_LSEEK64 1 128 129 /* Define to 1 if you have the <mach/mach.h> header file. */ 130 /* #undef HAVE_MACH_MACH_H */ 131 132 /* Define to 1 if you have the `mallctl' function. */ 133 /* #undef HAVE_MALLCTL */ 134 135 /* Define to 1 if you have the `mallinfo' function. */ 136 #define HAVE_MALLINFO 1 137 138 /* Some projects using SwiftShader bypass cmake (eg Chromium via gn) */ 139 /* so we need to check glibc version for the new API to be safe */ 140 #if defined(__GLIBC__) && __GLIBC_MINOR__ >= 33 141 #define HAVE_MALLINFO2 1 142 #endif 143 144 /* Define to 1 if you have the <malloc.h> header file. */ 145 #define HAVE_MALLOC_H 1 146 147 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 148 /* #undef HAVE_MALLOC_MALLOC_H */ 149 150 /* Define to 1 if you have the `malloc_zone_statistics' function. */ 151 /* #undef HAVE_MALLOC_ZONE_STATISTICS */ 152 153 /* Define to 1 if you have the `mkdtemp' function. */ 154 #define HAVE_MKDTEMP 1 155 156 /* Define to 1 if you have the `mkstemp' function. */ 157 #define HAVE_MKSTEMP 1 158 159 /* Define to 1 if you have the `mktemp' function. */ 160 #define HAVE_MKTEMP 1 161 162 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 163 /* #undef HAVE_NDIR_H */ 164 165 /* Define to 1 if you have the `posix_fallocate' function. */ 166 #define HAVE_POSIX_FALLOCATE 1 167 168 /* Define to 1 if you have the `posix_spawn' function. */ 169 #define HAVE_POSIX_SPAWN 1 170 171 /* Define to 1 if you have the `pread' function. */ 172 #define HAVE_PREAD 1 173 174 /* Have pthread_getspecific */ 175 #define HAVE_PTHREAD_GETSPECIFIC 1 176 177 /* Define to 1 if you have the <pthread.h> header file. */ 178 #define HAVE_PTHREAD_H 1 179 180 /* Have pthread_mutex_lock */ 181 #define HAVE_PTHREAD_MUTEX_LOCK 1 182 183 /* Have pthread_rwlock_init */ 184 #define HAVE_PTHREAD_RWLOCK_INIT 1 185 186 /* Define to 1 if you have the `realpath' function. */ 187 #define HAVE_REALPATH 1 188 189 /* Define to 1 if you have the `sbrk' function. */ 190 #define HAVE_SBRK 1 191 192 /* Define to 1 if you have the `setenv' function. */ 193 #define HAVE_SETENV 1 194 195 /* Define to 1 if you have the `setrlimit' function. */ 196 #define HAVE_SETRLIMIT 1 197 198 /* Define to 1 if you have the `sigaltstack' function. */ 199 #define HAVE_SIGALTSTACK 1 200 201 /* Define to 1 if you have the <signal.h> header file. */ 202 #define HAVE_SIGNAL_H 1 203 204 /* Define to 1 if you have the <stdint.h> header file. */ 205 #define HAVE_STDINT_H 1 206 207 /* Define to 1 if you have the `strerror' function. */ 208 #define HAVE_STRERROR 1 209 210 /* Define to 1 if you have the `strerror_r' function. */ 211 #define HAVE_STRERROR_R 1 212 213 /* Define to 1 if you have the `strtoll' function. */ 214 #define HAVE_STRTOLL 1 215 216 /* Define to 1 if you have the `sysconf' function. */ 217 #define HAVE_SYSCONF 1 218 219 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 220 */ 221 #define HAVE_SYS_DIR_H 1 222 223 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 224 #define HAVE_SYS_IOCTL_H 1 225 226 /* Define to 1 if you have the <sys/mman.h> header file. */ 227 #define HAVE_SYS_MMAN_H 1 228 229 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 230 */ 231 /* #undef HAVE_SYS_NDIR_H */ 232 233 /* Define to 1 if you have the <sys/param.h> header file. */ 234 #define HAVE_SYS_PARAM_H 1 235 236 /* Define to 1 if you have the <sys/resource.h> header file. */ 237 #define HAVE_SYS_RESOURCE_H 1 238 239 /* Define to 1 if you have the <sys/stat.h> header file. */ 240 #define HAVE_SYS_STAT_H 1 241 242 /* Define to 1 if you have the <sys/time.h> header file. */ 243 #define HAVE_SYS_TIME_H 1 244 245 /* Define to 1 if you have the <sys/types.h> header file. */ 246 #define HAVE_SYS_TYPES_H 1 247 248 /* Define to 1 if you have the <sys/uio.h> header file. */ 249 #define HAVE_SYS_UIO_H 1 250 251 /* Define if the setupterm() function is supported this platform. */ 252 /* #undef HAVE_TERMINFO */ 253 254 /* Define if the xar_open() function is supported this platform. */ 255 /* #undef HAVE_LIBXAR */ 256 257 /* Define to 1 if you have the <termios.h> header file. */ 258 #define HAVE_TERMIOS_H 1 259 260 /* Define to 1 if the system has the type `uint64_t'. */ 261 #define HAVE_UINT64_T 1 262 263 /* Define to 1 if you have the <unistd.h> header file. */ 264 #define HAVE_UNISTD_H 1 265 266 /* Define to 1 if the system has the type `u_int64_t'. */ 267 #define HAVE_U_INT64_T 1 268 269 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ 270 /* #undef HAVE_VALGRIND_VALGRIND_H */ 271 272 /* Define to 1 if you have the `writev' function. */ 273 #define HAVE_WRITEV 1 274 275 /* Define to 1 if you have the <zlib.h> header file. */ 276 #define HAVE_ZLIB_H 1 277 278 /* Have host's _alloca */ 279 /* #undef HAVE__ALLOCA */ 280 281 /* Define to 1 if you have the `_chsize_s' function. */ 282 /* #undef HAVE__CHSIZE_S */ 283 284 /* Define to 1 if you have the `_Unwind_Backtrace' function. */ 285 #define HAVE__UNWIND_BACKTRACE 1 286 287 /* Have host's __alloca */ 288 /* #undef HAVE___ALLOCA */ 289 290 /* Have host's __ashldi3 */ 291 /* #undef HAVE___ASHLDI3 */ 292 293 /* Have host's __ashrdi3 */ 294 /* #undef HAVE___ASHRDI3 */ 295 296 /* Have host's __chkstk */ 297 /* #undef HAVE___CHKSTK */ 298 299 /* Have host's __chkstk_ms */ 300 /* #undef HAVE___CHKSTK_MS */ 301 302 /* Have host's __cmpdi2 */ 303 /* #undef HAVE___CMPDI2 */ 304 305 /* Have host's __divdi3 */ 306 /* #undef HAVE___DIVDI3 */ 307 308 /* Have host's __fixdfdi */ 309 /* #undef HAVE___FIXDFDI */ 310 311 /* Have host's __fixsfdi */ 312 /* #undef HAVE___FIXSFDI */ 313 314 /* Have host's __floatdidf */ 315 /* #undef HAVE___FLOATDIDF */ 316 317 /* Have host's __lshrdi3 */ 318 /* #undef HAVE___LSHRDI3 */ 319 320 /* Have host's __main */ 321 /* #undef HAVE___MAIN */ 322 323 /* Have host's __moddi3 */ 324 /* #undef HAVE___MODDI3 */ 325 326 /* Have host's __udivdi3 */ 327 /* #undef HAVE___UDIVDI3 */ 328 329 /* Have host's __umoddi3 */ 330 /* #undef HAVE___UMODDI3 */ 331 332 /* Have host's ___chkstk */ 333 /* #undef HAVE____CHKSTK */ 334 335 /* Have host's ___chkstk_ms */ 336 /* #undef HAVE____CHKSTK_MS */ 337 338 /* Linker version detected at compile time. */ 339 /* #undef HOST_LINK_VERSION */ 340 341 /* Define if we link Polly to the tools */ 342 /* #undef LINK_POLLY_INTO_TOOLS */ 343 344 /* Target triple LLVM will generate code for by default */ 345 /* Doesn't use `cmakedefine` because it is allowed to be empty. */ 346 #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu" 347 348 /* Define if threads enabled */ 349 #define LLVM_ENABLE_THREADS 0 350 351 /* Define if zlib compression is available */ 352 #define LLVM_ENABLE_ZLIB 1 353 354 /* Has gcc/MSVC atomic intrinsics */ 355 #define LLVM_HAS_ATOMICS 1 356 357 /* Host triple LLVM will be executed on */ 358 #define LLVM_HOST_TRIPLE "x86_64-unknown-linux-gnu" 359 360 /* LLVM architecture name for the native architecture, if available */ 361 #define LLVM_NATIVE_ARCH X86 362 363 /* LLVM name for the native AsmParser init function, if available */ 364 #define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser 365 366 /* LLVM name for the native AsmPrinter init function, if available */ 367 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter 368 369 /* LLVM name for the native Disassembler init function, if available */ 370 #define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler 371 372 /* LLVM name for the native Target init function, if available */ 373 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target 374 375 /* LLVM name for the native TargetInfo init function, if available */ 376 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo 377 378 /* LLVM name for the native target MC init function, if available */ 379 #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC 380 381 /* Define if this is Unixish platform */ 382 #define LLVM_ON_UNIX 1 383 384 /* Define if this is Win32ish platform */ 385 /* #undef LLVM_ON_WIN32 */ 386 387 /* Installation prefix directory */ 388 #define LLVM_PREFIX "/usr/local" 389 390 /* Define if we have the Intel JIT API runtime support library */ 391 #define LLVM_USE_INTEL_JITEVENTS 0 392 393 /* Define if we have the oprofile JIT-support library */ 394 #define LLVM_USE_OPROFILE 0 395 396 /* LLVM version information */ 397 /* #undef LLVM_VERSION_INFO */ 398 399 /* Major version of the LLVM API */ 400 #define LLVM_VERSION_MAJOR 4 401 402 /* Minor version of the LLVM API */ 403 #define LLVM_VERSION_MINOR 0 404 405 /* Patch version of the LLVM API */ 406 #define LLVM_VERSION_PATCH 0 407 408 /* LLVM version string */ 409 #define LLVM_VERSION_STRING "4.0.0svn" 410 411 /* Define to the extension used for shared libraries, say, ".so". */ 412 #define LTDL_SHLIB_EXT ".so" 413 414 /* Define to the address where bug reports for this package should be sent. */ 415 #define PACKAGE_BUGREPORT "http://llvm.org/bugs/" 416 417 /* Define to the full name of this package. */ 418 #define PACKAGE_NAME "LLVM" 419 420 /* Define to the full name and version of this package. */ 421 #define PACKAGE_STRING "LLVM 4.0.0svn" 422 423 /* Define to the one symbol short name of this package. */ 424 #undef PACKAGE_TARNAME 425 426 /* Define to the version of this package. */ 427 #define PACKAGE_VERSION "4.0.0svn" 428 429 /* Define to the vendor of this package. */ 430 /* #undef PACKAGE_VENDOR */ 431 432 /* Define as the return type of signal handlers (`int' or `void'). */ 433 #define RETSIGTYPE void 434 435 /* Define to a function replacing strtoll */ 436 /* #undef strtoll */ 437 438 /* Define to a function implementing strtoull */ 439 /* #undef strtoull */ 440 441 /* Define to a function implementing stricmp */ 442 /* #undef stricmp */ 443 444 /* Define to a function implementing strdup */ 445 /* #undef strdup */ 446 447 #endif 448