OSDN Git Service

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