OSDN Git Service

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