1 #ifndef CONFIG_H 2 #define CONFIG_H 3 4 /* Exported configuration */ 5 #include "llvm/Config/llvm-config.h" 6 7 /* Bug report URL. */ 8 #define BUG_REPORT_URL "https://bugs.llvm.org/" 9 10 /* Define to 1 to enable backtraces, and to 0 otherwise. */ 11 #define ENABLE_BACKTRACES 0 12 13 /* Define to 1 to enable crash overrides, and to 0 otherwise. */ 14 #define ENABLE_CRASH_OVERRIDES 0 15 16 /* Define to 1 if you have the `backtrace' function. */ 17 /* #undef HAVE_BACKTRACE */ 18 19 /* #undef BACKTRACE_HEADER */ 20 21 /* Define to 1 if you have the <CrashReporterClient.h> header file. */ 22 /* #undef HAVE_CRASHREPORTERCLIENT_H */ 23 24 /* can use __crashreporter_info__ */ 25 #define HAVE_CRASHREPORTER_INFO 0 26 27 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you 28 don't. */ 29 #define HAVE_DECL_ARC4RANDOM 0 30 31 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you 32 don't. */ 33 #define HAVE_DECL_FE_ALL_EXCEPT 1 34 35 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you 36 don't. */ 37 #define HAVE_DECL_FE_INEXACT 1 38 39 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you 40 don't. */ 41 #define HAVE_DECL_STRERROR_S 0 42 43 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 44 #define LLVM_ENABLE_DIA_SDK 0 45 46 /* Define to 1 if you have the <dlfcn.h> header file. */ 47 #define HAVE_DLFCN_H 1 48 49 /* Define if dlopen() is available on this platform. */ 50 #define HAVE_DLOPEN 1 51 52 /* Define if dladdr() is available on this platform. */ 53 /* #undef HAVE_DLADDR */ 54 55 /* Define to 1 if you have the <errno.h> header file. */ 56 #define HAVE_ERRNO_H 1 57 58 /* Define to 1 if you have the <fcntl.h> header file. */ 59 #define HAVE_FCNTL_H 1 60 61 /* Define to 1 if you have the <fenv.h> header file. */ 62 #define HAVE_FENV_H 1 63 64 /* Define if libffi is available on this platform. */ 65 /* #undef HAVE_FFI_CALL */ 66 67 /* Define to 1 if you have the <ffi/ffi.h> header file. */ 68 /* #undef HAVE_FFI_FFI_H */ 69 70 /* Define to 1 if you have the <ffi.h> header file. */ 71 /* #undef HAVE_FFI_H */ 72 73 /* Define to 1 if you have the `futimens' function. */ 74 #define HAVE_FUTIMENS 1 75 76 /* Define to 1 if you have the `futimes' function. */ 77 #define HAVE_FUTIMES 1 78 79 /* Define to 1 if you have the `getpagesize' function. */ 80 #define HAVE_GETPAGESIZE 1 81 82 /* Define to 1 if you have the `getrlimit' function. */ 83 #define HAVE_GETRLIMIT 1 84 85 /* Define to 1 if you have the `getrusage' function. */ 86 #define HAVE_GETRUSAGE 1 87 88 /* Define to 1 if you have the `isatty' function. */ 89 #define HAVE_ISATTY 1 90 91 /* Define to 1 if you have the `edit' library (-ledit). */ 92 /* #undef HAVE_LIBEDIT */ 93 94 /* Define to 1 if you have the `pfm' library (-lpfm). */ 95 /* #undef HAVE_LIBPFM */ 96 97 /* Define to 1 if you have the `psapi' library (-lpsapi). */ 98 /* #undef HAVE_LIBPSAPI */ 99 100 /* Define to 1 if you have the `pthread' library (-lpthread). */ 101 #define HAVE_LIBPTHREAD 1 102 103 /* Define to 1 if you have the `pthread_getname_np' function. */ 104 /* #undef HAVE_PTHREAD_GETNAME_NP */ 105 106 /* Define to 1 if you have the `pthread_setname_np' function. */ 107 /* #undef HAVE_PTHREAD_SETNAME_NP */ 108 109 /* Define to 1 if you have the `z' library (-lz). */ 110 /* #undef HAVE_LIBZ */ 111 112 /* Define to 1 if you have the <link.h> header file. */ 113 #define HAVE_LINK_H 1 114 115 /* Define to 1 if you have the `lseek64' function. */ 116 #define HAVE_LSEEK64 1 117 118 /* Define to 1 if you have the <mach/mach.h> header file. */ 119 /* #undef HAVE_MACH_MACH_H */ 120 121 /* Define to 1 if you have the `mallctl' function. */ 122 /* #undef HAVE_MALLCTL */ 123 124 /* Define to 1 if you have the `mallinfo' function. */ 125 #define HAVE_MALLINFO 1 126 127 /* Define to 1 if you have the <malloc.h> header file. */ 128 #define HAVE_MALLOC_H 1 129 130 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 131 /* #undef HAVE_MALLOC_MALLOC_H */ 132 133 /* Define to 1 if you have the `malloc_zone_statistics' function. */ 134 /* #undef HAVE_MALLOC_ZONE_STATISTICS */ 135 136 /* Define to 1 if you have the `posix_fallocate' function. */ 137 #define HAVE_POSIX_FALLOCATE 1 138 139 /* Define to 1 if you have the `posix_spawn' function. */ 140 /* #undef HAVE_POSIX_SPAWN */ 141 142 /* Define to 1 if you have the `pread' function. */ 143 #define HAVE_PREAD 1 144 145 /* Have pthread_getspecific */ 146 #define HAVE_PTHREAD_GETSPECIFIC 1 147 148 /* Define to 1 if you have the <pthread.h> header file. */ 149 #define HAVE_PTHREAD_H 1 150 151 /* Have pthread_mutex_lock */ 152 #define HAVE_PTHREAD_MUTEX_LOCK 1 153 154 /* Have pthread_rwlock_init */ 155 #define HAVE_PTHREAD_RWLOCK_INIT 1 156 157 /* Define to 1 if you have the `realpath' function. */ 158 #define HAVE_REALPATH 1 159 160 /* Define to 1 if you have the `sbrk' function. */ 161 #define HAVE_SBRK 1 162 163 /* Define to 1 if you have the `setenv' function. */ 164 #define HAVE_SETENV 1 165 166 /* Define to 1 if you have the `sched_getaffinity' function. */ 167 #define HAVE_SCHED_GETAFFINITY 1 168 169 /* Define to 1 if you have the `CPU_COUNT' macro. */ 170 #define HAVE_CPU_COUNT 1 171 172 /* Define to 1 if you have the `setrlimit' function. */ 173 #define HAVE_SETRLIMIT 1 174 175 /* Define to 1 if you have the `sigaltstack' function. */ 176 #define HAVE_SIGALTSTACK 1 177 178 /* Define to 1 if you have the <signal.h> header file. */ 179 #define HAVE_SIGNAL_H 1 180 181 /* Define to 1 if you have the `strerror' function. */ 182 #define HAVE_STRERROR 1 183 184 /* Define to 1 if you have the `strerror_r' function. */ 185 #define HAVE_STRERROR_R 1 186 187 /* Define to 1 if you have the `sysconf' function. */ 188 #define HAVE_SYSCONF 1 189 190 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 191 #define HAVE_SYS_IOCTL_H 1 192 193 /* Define to 1 if you have the <sys/mman.h> header file. */ 194 #define HAVE_SYS_MMAN_H 1 195 196 /* Define to 1 if you have the <sys/param.h> header file. */ 197 #define HAVE_SYS_PARAM_H 1 198 199 /* Define to 1 if you have the <sys/resource.h> header file. */ 200 #define HAVE_SYS_RESOURCE_H 1 201 202 /* Define to 1 if you have the <sys/stat.h> header file. */ 203 #define HAVE_SYS_STAT_H 1 204 205 /* Define to 1 if you have the <sys/time.h> header file. */ 206 #define HAVE_SYS_TIME_H 1 207 208 /* Define to 1 if you have the <sys/types.h> header file. */ 209 #define HAVE_SYS_TYPES_H 1 210 211 /* Define if the setupterm() function is supported this platform. */ 212 /* #undef HAVE_TERMINFO */ 213 214 /* Define if the xar_open() function is supported this platform. */ 215 /* #undef HAVE_LIBXAR */ 216 217 /* Define to 1 if you have the <termios.h> header file. */ 218 /* #undef HAVE_TERMIOS_H */ 219 220 /* Define to 1 if you have the <unistd.h> header file. */ 221 #define HAVE_UNISTD_H 1 222 223 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ 224 /* #undef HAVE_VALGRIND_VALGRIND_H */ 225 226 /* Define to 1 if you have the <zlib.h> header file. */ 227 /* #undef HAVE_ZLIB_H */ 228 229 /* Have host's _alloca */ 230 /* #undef HAVE__ALLOCA */ 231 232 /* Define to 1 if you have the `_chsize_s' function. */ 233 /* #undef HAVE__CHSIZE_S */ 234 235 /* Define to 1 if you have the `_Unwind_Backtrace' function. */ 236 /* #undef HAVE__UNWIND_BACKTRACE */ 237 238 /* Have host's __alloca */ 239 /* #undef HAVE___ALLOCA */ 240 241 /* Have host's __ashldi3 */ 242 /* #undef HAVE___ASHLDI3 */ 243 244 /* Have host's __ashrdi3 */ 245 /* #undef HAVE___ASHRDI3 */ 246 247 /* Have host's __chkstk */ 248 /* #undef HAVE___CHKSTK */ 249 250 /* Have host's __chkstk_ms */ 251 /* #undef HAVE___CHKSTK_MS */ 252 253 /* Have host's __cmpdi2 */ 254 /* #undef HAVE___CMPDI2 */ 255 256 /* Have host's __divdi3 */ 257 /* #undef HAVE___DIVDI3 */ 258 259 /* Have host's __fixdfdi */ 260 /* #undef HAVE___FIXDFDI */ 261 262 /* Have host's __fixsfdi */ 263 /* #undef HAVE___FIXSFDI */ 264 265 /* Have host's __floatdidf */ 266 /* #undef HAVE___FLOATDIDF */ 267 268 /* Have host's __lshrdi3 */ 269 /* #undef HAVE___LSHRDI3 */ 270 271 /* Have host's __main */ 272 /* #undef HAVE___MAIN */ 273 274 /* Have host's __moddi3 */ 275 /* #undef HAVE___MODDI3 */ 276 277 /* Have host's __udivdi3 */ 278 /* #undef HAVE___UDIVDI3 */ 279 280 /* Have host's __umoddi3 */ 281 /* #undef HAVE___UMODDI3 */ 282 283 /* Have host's ___chkstk */ 284 /* #undef HAVE____CHKSTK */ 285 286 /* Have host's ___chkstk_ms */ 287 /* #undef HAVE____CHKSTK_MS */ 288 289 /* Linker version detected at compile time. */ 290 /* #undef HOST_LINK_VERSION */ 291 292 /* Target triple LLVM will generate code for by default */ 293 /* Doesn't use `cmakedefine` because it is allowed to be empty. */ 294 #if defined(__x86_64__) 295 #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu" 296 #elif defined(__i386__) 297 #define LLVM_DEFAULT_TARGET_TRIPLE "i686-pc-linux-gnu" 298 #elif defined(__arm__) 299 #define LLVM_DEFAULT_TARGET_TRIPLE "armv7-linux-gnueabihf" 300 #elif defined(__aarch64__) 301 #define LLVM_DEFAULT_TARGET_TRIPLE "aarch64-linux-gnu" 302 #elif defined(__mips__) 303 #define LLVM_DEFAULT_TARGET_TRIPLE "mipsel-linux-gnu" 304 #elif defined(__mips64) 305 #define LLVM_DEFAULT_TARGET_TRIPLE "mips64el-linux-gnuabi64" 306 #elif defined(__powerpc64__) 307 #define LLVM_DEFAULT_TARGET_TRIPLE "powerpc64le-unknown-linux-gnu" 308 #else 309 #error "unknown architecture" 310 #endif 311 312 /* Define if zlib compression is available */ 313 #define LLVM_ENABLE_ZLIB 0 314 315 /* Define if overriding target triple is enabled */ 316 /* #undef LLVM_TARGET_TRIPLE_ENV */ 317 318 /* LLVM version information */ 319 /* #undef LLVM_VERSION_INFO */ 320 321 /* Whether tools show host and target info when invoked with --version */ 322 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1 323 324 /* Define if libxml2 is supported on this platform. */ 325 /* #undef LLVM_LIBXML2_ENABLED */ 326 327 /* Define to the extension used for shared libraries, say, ".so". */ 328 #define LTDL_SHLIB_EXT ".so" 329 330 /* Define to the address where bug reports for this package should be sent. */ 331 #define PACKAGE_BUGREPORT "https://bugs.llvm.org/" 332 333 /* Define to the full name of this package. */ 334 #define PACKAGE_NAME "LLVM" 335 336 /* Define to the full name and version of this package. */ 337 #define PACKAGE_STRING "LLVM 7.0.1" 338 339 /* Define to the version of this package. */ 340 #define PACKAGE_VERSION "7.0.1" 341 342 /* Define to the vendor of this package. */ 343 /* #undef PACKAGE_VENDOR */ 344 345 /* Define as the return type of signal handlers (`int' or `void'). */ 346 #define RETSIGTYPE void 347 348 /* Define to a function implementing stricmp */ 349 /* #undef stricmp */ 350 351 /* Define to a function implementing strdup */ 352 /* #undef strdup */ 353 354 /* Whether GlobalISel rule coverage is being collected */ 355 #define LLVM_GISEL_COV_ENABLED 0 356 357 /* Define to the default GlobalISel coverage file prefix */ 358 /* #undef LLVM_GISEL_COV_PREFIX */ 359 360 #endif 361