xref: /freebsd/lib/clang/include/llvm/Config/config.h (revision d3d381b2b194b4d24853e92eecef55f262688d1a)
1 /* $FreeBSD$ */
2 #ifndef CONFIG_H
3 #define CONFIG_H
4 
5 /* Exported configuration */
6 #include "llvm/Config/llvm-config.h"
7 
8 /* Bug report URL. */
9 #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
10 
11 /* Define to 1 to enable backtraces, and to 0 otherwise. */
12 #define ENABLE_BACKTRACES 0
13 
14 /* Define to 1 to enable crash overrides, and to 0 otherwise. */
15 #define ENABLE_CRASH_OVERRIDES 1
16 
17 /* Define to 1 if you have the `backtrace' function. */
18 #define HAVE_BACKTRACE TRUE
19 
20 #define BACKTRACE_HEADER <execinfo.h>
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 1
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 LLVM_ENABLE_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 if dladdr() is available on this platform. */
58 #define HAVE_DLADDR 1
59 
60 /* Define to 1 if you have the <errno.h> header file. */
61 #define HAVE_ERRNO_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 #if __FreeBSD__ >= 11
80 #define HAVE_FUTIMENS 1
81 #endif
82 
83 /* Define to 1 if you have the `futimes' function. */
84 #define HAVE_FUTIMES 1
85 
86 /* Define to 1 if you have the `getcwd' function. */
87 #define HAVE_GETCWD 1
88 
89 /* Define to 1 if you have the `getpagesize' function. */
90 #define HAVE_GETPAGESIZE 1
91 
92 /* Define to 1 if you have the `getrlimit' function. */
93 #define HAVE_GETRLIMIT 1
94 
95 /* Define to 1 if you have the `getrusage' function. */
96 #define HAVE_GETRUSAGE 1
97 
98 /* Define to 1 if you have the `gettimeofday' function. */
99 #define HAVE_GETTIMEOFDAY 1
100 
101 /* Define to 1 if the system has the type `int64_t'. */
102 #define HAVE_INT64_T 1
103 
104 /* Define to 1 if you have the <inttypes.h> header file. */
105 #define HAVE_INTTYPES_H 1
106 
107 /* Define to 1 if you have the `isatty' function. */
108 #define HAVE_ISATTY 1
109 
110 /* Define to 1 if you have the `edit' library (-ledit). */
111 #define HAVE_LIBEDIT 1
112 
113 /* Define to 1 if you have the `psapi' library (-lpsapi). */
114 /* #undef HAVE_LIBPSAPI */
115 
116 /* Define to 1 if you have the `pthread' library (-lpthread). */
117 #define HAVE_LIBPTHREAD 1
118 
119 /* Define to 1 if you have the `pthread_getname_np' function. */
120 /* #undef HAVE_PTHREAD_GETNAME_NP */
121 
122 /* Define to 1 if you have the `pthread_setname_np' function. */
123 /* #undef HAVE_PTHREAD_SETNAME_NP */
124 
125 /* Define to 1 if you have the `shell32' library (-lshell32). */
126 /* #undef HAVE_LIBSHELL32 */
127 
128 /* Define to 1 if you have the `z' library (-lz). */
129 #define HAVE_LIBZ 1
130 
131 /* Define to 1 if you have the <link.h> header file. */
132 #define HAVE_LINK_H 1
133 
134 /* Define to 1 if you have the `lseek64' function. */
135 /* #undef HAVE_LSEEK64 */
136 
137 /* Define to 1 if you have the <mach/mach.h> header file. */
138 /* #undef HAVE_MACH_MACH_H */
139 
140 /* Define to 1 if you have the `mallctl' function. */
141 #define HAVE_MALLCTL 1
142 
143 /* Define to 1 if you have the `mallinfo' function. */
144 /* #undef HAVE_MALLINFO */
145 
146 /* Define to 1 if you have the <malloc.h> header file. */
147 /* #undef HAVE_MALLOC_H */
148 
149 /* Define to 1 if you have the <malloc/malloc.h> header file. */
150 /* #undef HAVE_MALLOC_MALLOC_H */
151 
152 /* Define to 1 if you have the `malloc_zone_statistics' function. */
153 /* #undef HAVE_MALLOC_ZONE_STATISTICS */
154 
155 /* Define to 1 if you have the `mkdtemp' function. */
156 #define HAVE_MKDTEMP 1
157 
158 /* Define to 1 if you have the `mkstemp' function. */
159 #define HAVE_MKSTEMP 1
160 
161 /* Define to 1 if you have the `mktemp' function. */
162 #define HAVE_MKTEMP 1
163 
164 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
165 /* #undef HAVE_NDIR_H */
166 
167 /* Define to 1 if you have the `posix_fallocate' function. */
168 #define HAVE_POSIX_FALLOCATE 1
169 
170 /* Define to 1 if you have the `posix_spawn' function. */
171 #define HAVE_POSIX_SPAWN 1
172 
173 /* Define to 1 if you have the `pread' function. */
174 #define HAVE_PREAD 1
175 
176 /* Have pthread_getspecific */
177 #define HAVE_PTHREAD_GETSPECIFIC 1
178 
179 /* Define to 1 if you have the <pthread.h> header file. */
180 #define HAVE_PTHREAD_H 1
181 
182 /* Have pthread_mutex_lock */
183 #define HAVE_PTHREAD_MUTEX_LOCK 1
184 
185 /* Have pthread_rwlock_init */
186 #define HAVE_PTHREAD_RWLOCK_INIT 1
187 
188 /* Define to 1 if you have the `realpath' function. */
189 #define HAVE_REALPATH 1
190 
191 /* Define to 1 if you have the `sbrk' function. */
192 #define HAVE_SBRK 1
193 
194 /* Define to 1 if you have the `setenv' function. */
195 #define HAVE_SETENV 1
196 
197 /* Define to 1 if you have the `sched_getaffinity' function. */
198 /* #undef HAVE_SCHED_GETAFFINITY */
199 
200 /* Define to 1 if you have the `CPU_COUNT' macro. */
201 /* #undef HAVE_CPU_COUNT */
202 
203 /* Define to 1 if you have the `setrlimit' function. */
204 #define HAVE_SETRLIMIT 1
205 
206 /* Define to 1 if you have the `sigaltstack' function. */
207 #define HAVE_SIGALTSTACK 1
208 
209 /* Define to 1 if you have the <signal.h> header file. */
210 #define HAVE_SIGNAL_H 1
211 
212 /* Define to 1 if you have the <stdint.h> header file. */
213 #define HAVE_STDINT_H 1
214 
215 /* Define to 1 if you have the `strerror' function. */
216 #define HAVE_STRERROR 1
217 
218 /* Define to 1 if you have the `strerror_r' function. */
219 #define HAVE_STRERROR_R 1
220 
221 /* Define to 1 if you have the `strtoll' function. */
222 #define HAVE_STRTOLL 1
223 
224 /* Define to 1 if you have the `sysconf' function. */
225 #define HAVE_SYSCONF 1
226 
227 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
228    */
229 #define HAVE_SYS_DIR_H 1
230 
231 /* Define to 1 if you have the <sys/ioctl.h> header file. */
232 #define HAVE_SYS_IOCTL_H 1
233 
234 /* Define to 1 if you have the <sys/mman.h> header file. */
235 #define HAVE_SYS_MMAN_H 1
236 
237 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
238    */
239 /* #undef HAVE_SYS_NDIR_H */
240 
241 /* Define to 1 if you have the <sys/param.h> header file. */
242 #define HAVE_SYS_PARAM_H 1
243 
244 /* Define to 1 if you have the <sys/resource.h> header file. */
245 #define HAVE_SYS_RESOURCE_H 1
246 
247 /* Define to 1 if you have the <sys/stat.h> header file. */
248 #define HAVE_SYS_STAT_H 1
249 
250 /* Define to 1 if you have the <sys/time.h> header file. */
251 #define HAVE_SYS_TIME_H 1
252 
253 /* Define to 1 if you have the <sys/types.h> header file. */
254 #define HAVE_SYS_TYPES_H 1
255 
256 /* Define to 1 if you have the <sys/uio.h> header file. */
257 #define HAVE_SYS_UIO_H 1
258 
259 /* Define if the setupterm() function is supported this platform. */
260 #define HAVE_TERMINFO 1
261 
262 /* Define if the xar_open() function is supported this platform. */
263 /* #undef HAVE_LIBXAR */
264 
265 /* Define to 1 if you have the <termios.h> header file. */
266 #define HAVE_TERMIOS_H 1
267 
268 /* Define to 1 if the system has the type `uint64_t'. */
269 #define HAVE_UINT64_T 1
270 
271 /* Define to 1 if you have the <unistd.h> header file. */
272 #define HAVE_UNISTD_H 1
273 
274 /* Define to 1 if the system has the type `u_int64_t'. */
275 #define HAVE_U_INT64_T 1
276 
277 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
278 /* #undef HAVE_VALGRIND_VALGRIND_H */
279 
280 /* Define to 1 if you have the `writev' function. */
281 #define HAVE_WRITEV 1
282 
283 /* Define to 1 if you have the <zlib.h> header file. */
284 #define HAVE_ZLIB_H 1
285 
286 /* Have host's _alloca */
287 /* #undef HAVE__ALLOCA */
288 
289 /* Define to 1 if you have the `_chsize_s' function. */
290 /* #undef HAVE__CHSIZE_S */
291 
292 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
293 /* #undef HAVE__UNWIND_BACKTRACE */
294 
295 /* Have host's __alloca */
296 /* #undef HAVE___ALLOCA */
297 
298 /* Have host's __ashldi3 */
299 /* #undef HAVE___ASHLDI3 */
300 
301 /* Have host's __ashrdi3 */
302 /* #undef HAVE___ASHRDI3 */
303 
304 /* Have host's __chkstk */
305 /* #undef HAVE___CHKSTK */
306 
307 /* Have host's __chkstk_ms */
308 /* #undef HAVE___CHKSTK_MS */
309 
310 /* Have host's __cmpdi2 */
311 /* #undef HAVE___CMPDI2 */
312 
313 /* Have host's __divdi3 */
314 /* #undef HAVE___DIVDI3 */
315 
316 /* Have host's __fixdfdi */
317 /* #undef HAVE___FIXDFDI */
318 
319 /* Have host's __fixsfdi */
320 /* #undef HAVE___FIXSFDI */
321 
322 /* Have host's __floatdidf */
323 /* #undef HAVE___FLOATDIDF */
324 
325 /* Have host's __lshrdi3 */
326 /* #undef HAVE___LSHRDI3 */
327 
328 /* Have host's __main */
329 /* #undef HAVE___MAIN */
330 
331 /* Have host's __moddi3 */
332 /* #undef HAVE___MODDI3 */
333 
334 /* Have host's __udivdi3 */
335 /* #undef HAVE___UDIVDI3 */
336 
337 /* Have host's __umoddi3 */
338 /* #undef HAVE___UMODDI3 */
339 
340 /* Have host's ___chkstk */
341 /* #undef HAVE____CHKSTK */
342 
343 /* Have host's ___chkstk_ms */
344 /* #undef HAVE____CHKSTK_MS */
345 
346 /* Linker version detected at compile time. */
347 /* #undef HOST_LINK_VERSION */
348 
349 /* Define if we link Polly to the tools */
350 /* #undef LINK_POLLY_INTO_TOOLS */
351 
352 /* Target triple LLVM will generate code for by default */
353 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
354 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
355 
356 /* Define if threads enabled */
357 #define LLVM_ENABLE_THREADS 1
358 
359 /* Define if zlib compression is available */
360 #define LLVM_ENABLE_ZLIB 1
361 
362 /* Has gcc/MSVC atomic intrinsics */
363 #define LLVM_HAS_ATOMICS 1
364 
365 /* Host triple LLVM will be executed on */
366 /* #undef LLVM_HOST_TRIPLE */
367 
368 /* Define if this is Unixish platform */
369 #define LLVM_ON_UNIX 1
370 
371 /* Define if this is Win32ish platform */
372 /* #undef LLVM_ON_WIN32 */
373 
374 /* Define if overriding target triple is enabled */
375 /* #undef LLVM_TARGET_TRIPLE_ENV */
376 
377 /* Define if we have the Intel JIT API runtime support library */
378 #define LLVM_USE_INTEL_JITEVENTS 0
379 
380 /* Define if we have the oprofile JIT-support library */
381 #define LLVM_USE_OPROFILE 0
382 
383 /* LLVM version information */
384 /* #undef LLVM_VERSION_INFO */
385 
386 /* Whether tools show host and target info when invoked with --version */
387 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
388 
389 /* Major version of the LLVM API */
390 #define LLVM_VERSION_MAJOR 6
391 
392 /* Minor version of the LLVM API */
393 #define LLVM_VERSION_MINOR 0
394 
395 /* Patch version of the LLVM API */
396 #define LLVM_VERSION_PATCH 1
397 
398 /* LLVM version string */
399 #define LLVM_VERSION_STRING "6.0.1"
400 
401 /* Define if libxml2 is supported on this platform. */
402 /* #undef LLVM_LIBXML2_ENABLED */
403 
404 /* Define to the extension used for shared libraries, say, ".so". */
405 #define LTDL_SHLIB_EXT ".so"
406 
407 /* Define to the address where bug reports for this package should be sent. */
408 #define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
409 
410 /* Define to the full name of this package. */
411 #define PACKAGE_NAME "LLVM"
412 
413 /* Define to the full name and version of this package. */
414 #define PACKAGE_STRING "LLVM 6.0.1"
415 
416 /* Define to the one symbol short name of this package. */
417 #undef PACKAGE_TARNAME
418 
419 /* Define to the version of this package. */
420 #define PACKAGE_VERSION "6.0.1"
421 
422 /* Define to the vendor of this package. */
423 /* #undef PACKAGE_VENDOR */
424 
425 /* Define as the return type of signal handlers (`int' or `void'). */
426 #define RETSIGTYPE void
427 
428 /* Define to a function replacing strtoll */
429 /* #undef strtoll */
430 
431 /* Define to a function implementing strtoull */
432 /* #undef strtoull */
433 
434 /* Define to a function implementing stricmp */
435 /* #undef stricmp */
436 
437 /* Define to a function implementing strdup */
438 /* #undef strdup */
439 
440 /* Whether GlobalISel rule coverage is being collected */
441 #define LLVM_GISEL_COV_ENABLED 0
442 
443 /* Define to the default GlobalISel coverage file prefix */
444 /* #undef LLVM_GISEL_COV_PREFIX */
445 
446 #endif
447