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