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