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 "https://bugs.llvm.org/"
9 
10 /* Define to 1 to enable backtraces, and to 0 otherwise. */
11 /* #undef ENABLE_BACKTRACES */
12 #define ENABLE_BACKTRACES 1
13 
14 /* Define to 1 to enable crash overrides, and to 0 otherwise. */
15 /* #undef ENABLE_CRASH_OVERRIDES */
16 #define ENABLE_CRASH_OVERRIDES 1
17 
18 /* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
19 #define LLVM_ENABLE_CRASH_DUMPS 0
20 
21 /* Define to 1 if you have the `backtrace' function. */
22 /* #undef HAVE_BACKTRACE */
23 #define HAVE_BACKTRACE 1
24 
25 /* #undef BACKTRACE_HEADER */
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 /* Define to 1 if you have the <errno.h> header file. */
63 #define HAVE_ERRNO_H 1
64 
65 /* Define to 1 if you have the <fcntl.h> header file. */
66 #define HAVE_FCNTL_H 1
67 
68 /* Define to 1 if you have the <fenv.h> header file. */
69 #define HAVE_FENV_H 1
70 
71 /* Define if libffi is available on this platform. */
72 /* #undef HAVE_FFI_CALL */
73 
74 /* Define to 1 if you have the <ffi/ffi.h> header file. */
75 /* #undef HAVE_FFI_FFI_H */
76 
77 /* Define to 1 if you have the <ffi.h> header file. */
78 /* #undef HAVE_FFI_H */
79 
80 /* Define to 1 if you have the `futimens' function. */
81 #define HAVE_FUTIMENS 1
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 `getpagesize' function. */
87 #define HAVE_GETPAGESIZE 1
88 
89 /* Define to 1 if you have the `getrlimit' function. */
90 #define HAVE_GETRLIMIT 1
91 
92 /* Define to 1 if you have the `getrusage' function. */
93 #define HAVE_GETRUSAGE 1
94 
95 /* Define to 1 if you have the `isatty' function. */
96 #define HAVE_ISATTY 1
97 
98 /* Define to 1 if you have the `edit' library (-ledit). */
99 #define HAVE_LIBEDIT 1
100 
101 /* Define to 1 if you have the `pfm' library (-lpfm). */
102 /* #undef HAVE_LIBPFM */
103 
104 /* Define to 1 if you have the `psapi' library (-lpsapi). */
105 /* #undef HAVE_LIBPSAPI */
106 
107 /* Define to 1 if you have the `pthread' library (-lpthread). */
108 #define HAVE_LIBPTHREAD 1
109 
110 /* Define to 1 if you have the `pthread_getname_np' function. */
111 /* #undef HAVE_PTHREAD_GETNAME_NP */
112 
113 /* Define to 1 if you have the `pthread_setname_np' function. */
114 /* #undef HAVE_PTHREAD_SETNAME_NP */
115 
116 /* Define to 1 if you have the `z' library (-lz). */
117 /* #undef HAVE_LIBZ */
118 #define HAVE_LIBZ 1
119 
120 /* Define to 1 if you have the <link.h> header file. */
121 #define HAVE_LINK_H 1
122 
123 /* Define to 1 if you have the `lseek64' function. */
124 /* #define HAVE_LSEEK64 1 */
125 /* #undef HAVE_LSEEK64 */
126 
127 /* Define to 1 if you have the <mach/mach.h> header file. */
128 /* #undef HAVE_MACH_MACH_H */
129 
130 /* Define to 1 if you have the `mallctl' function. */
131 /* #undef HAVE_MALLCTL */
132 #define HAVE_MALLCTL 1
133 
134 /* Define to 1 if you have the `mallinfo' function. */
135 /* #define HAVE_MALLINFO 1 */
136 /* #undef HAVE_MALLINFO */
137 
138 /* Define to 1 if you have the <malloc/malloc.h> header file. */
139 /* #undef HAVE_MALLOC_MALLOC_H */
140 
141 /* Define to 1 if you have the `malloc_zone_statistics' function. */
142 /* #undef HAVE_MALLOC_ZONE_STATISTICS */
143 
144 /* Define to 1 if you have the `posix_fallocate' function. */
145 #define HAVE_POSIX_FALLOCATE 1
146 
147 /* Define to 1 if you have the `posix_spawn' function. */
148 #define HAVE_POSIX_SPAWN 1
149 
150 /* Define to 1 if you have the `pread' function. */
151 #define HAVE_PREAD 1
152 
153 /* Have pthread_getspecific */
154 #define HAVE_PTHREAD_GETSPECIFIC 1
155 
156 /* Define to 1 if you have the <pthread.h> header file. */
157 #define HAVE_PTHREAD_H 1
158 
159 /* Have pthread_mutex_lock */
160 #define HAVE_PTHREAD_MUTEX_LOCK 1
161 
162 /* Have pthread_rwlock_init */
163 #define HAVE_PTHREAD_RWLOCK_INIT 1
164 
165 /* Define to 1 if you have the `sbrk' function. */
166 /* #undef HAVE_SBRK */
167 
168 /* Define to 1 if you have the `setenv' function. */
169 #define HAVE_SETENV 1
170 
171 /* Define to 1 if you have the `sched_getaffinity' function. */
172 /* #undef HAVE_SCHED_GETAFFINITY */
173 
174 /* Define to 1 if you have the `CPU_COUNT' macro. */
175 /* #undef HAVE_CPU_COUNT */
176 
177 /* Define to 1 if you have the `setrlimit' function. */
178 #define HAVE_SETRLIMIT 1
179 
180 /* Define to 1 if you have the `sigaltstack' function. */
181 #define HAVE_SIGALTSTACK 1
182 
183 /* Define to 1 if you have the <signal.h> header file. */
184 #define HAVE_SIGNAL_H 1
185 
186 /* Define to 1 if you have the `strerror' function. */
187 #define HAVE_STRERROR 1
188 
189 /* Define to 1 if you have the `strerror_r' function. */
190 #define HAVE_STRERROR_R 1
191 
192 /* Define to 1 if you have the `sysconf' function. */
193 #define HAVE_SYSCONF 1
194 
195 /* Define to 1 if you have the <sys/ioctl.h> header file. */
196 #define HAVE_SYS_IOCTL_H 1
197 
198 /* Define to 1 if you have the <sys/mman.h> header file. */
199 #define HAVE_SYS_MMAN_H 1
200 
201 /* Define to 1 if you have the <sys/param.h> header file. */
202 #define HAVE_SYS_PARAM_H 1
203 
204 /* Define to 1 if you have the <sys/resource.h> header file. */
205 #define HAVE_SYS_RESOURCE_H 1
206 
207 /* Define to 1 if you have the <sys/stat.h> header file. */
208 #define HAVE_SYS_STAT_H 1
209 
210 /* Define to 1 if you have the <sys/time.h> header file. */
211 #define HAVE_SYS_TIME_H 1
212 
213 /* Define to 1 if stat struct has st_mtimespec member .*/
214 /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */
215 
216 /* Define to 1 if stat struct has st_mtim member. */
217 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
218 
219 /* Define to 1 if you have the <sys/types.h> header file. */
220 #define HAVE_SYS_TYPES_H 1
221 
222 /* Define if the setupterm() function is supported this platform. */
223 #define HAVE_TERMINFO 1
224 
225 /* Define if the xar_open() function is supported this platform. */
226 /* #undef HAVE_LIBXAR */
227 
228 /* Define to 1 if you have the <termios.h> header file. */
229 #define HAVE_TERMIOS_H 1
230 
231 /* Define to 1 if you have the <unistd.h> header file. */
232 #define HAVE_UNISTD_H 1
233 
234 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
235 /* #undef HAVE_VALGRIND_VALGRIND_H */
236 
237 /* Define to 1 if you have the <zlib.h> header file. */
238 #define HAVE_ZLIB_H 1
239 
240 /* Have host's _alloca */
241 /* #undef HAVE__ALLOCA */
242 
243 /* Define to 1 if you have the `_chsize_s' function. */
244 /* #undef HAVE__CHSIZE_S */
245 
246 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
247 /* #undef HAVE__UNWIND_BACKTRACE */
248 
249 /* Have host's __alloca */
250 /* #undef HAVE___ALLOCA */
251 
252 /* Have host's __ashldi3 */
253 /* #undef HAVE___ASHLDI3 */
254 
255 /* Have host's __ashrdi3 */
256 /* #undef HAVE___ASHRDI3 */
257 
258 /* Have host's __chkstk */
259 /* #undef HAVE___CHKSTK */
260 
261 /* Have host's __chkstk_ms */
262 /* #undef HAVE___CHKSTK_MS */
263 
264 /* Have host's __cmpdi2 */
265 /* #undef HAVE___CMPDI2 */
266 
267 /* Have host's __divdi3 */
268 /* #undef HAVE___DIVDI3 */
269 
270 /* Have host's __fixdfdi */
271 /* #undef HAVE___FIXDFDI */
272 
273 /* Have host's __fixsfdi */
274 /* #undef HAVE___FIXSFDI */
275 
276 /* Have host's __floatdidf */
277 /* #undef HAVE___FLOATDIDF */
278 
279 /* Have host's __lshrdi3 */
280 /* #undef HAVE___LSHRDI3 */
281 
282 /* Have host's __main */
283 /* #undef HAVE___MAIN */
284 
285 /* Have host's __moddi3 */
286 /* #undef HAVE___MODDI3 */
287 
288 /* Have host's __udivdi3 */
289 /* #undef HAVE___UDIVDI3 */
290 
291 /* Have host's __umoddi3 */
292 /* #undef HAVE___UMODDI3 */
293 
294 /* Have host's ___chkstk */
295 /* #undef HAVE____CHKSTK */
296 
297 /* Have host's ___chkstk_ms */
298 /* #undef HAVE____CHKSTK_MS */
299 
300 /* Linker version detected at compile time. */
301 /* #undef HOST_LINK_VERSION */
302 
303 /* Target triple LLVM will generate code for by default */
304 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
305 #if defined(__x86_64__)
306 #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu"
307 #elif defined(__i386__)
308 #define LLVM_DEFAULT_TARGET_TRIPLE "i686-pc-linux-gnu"
309 #elif defined(__arm__)
310 #define LLVM_DEFAULT_TARGET_TRIPLE "armv7-linux-gnueabihf"
311 #elif defined(__aarch64__)
312 #define LLVM_DEFAULT_TARGET_TRIPLE "aarch64-portbld-freebsd"
313 #elif defined(__mips__)
314 #define LLVM_DEFAULT_TARGET_TRIPLE "mipsel-linux-gnu"
315 #elif defined(__mips64)
316 #define LLVM_DEFAULT_TARGET_TRIPLE "mips64el-linux-gnuabi64"
317 #elif defined(__powerpc64__)
318 #define LLVM_DEFAULT_TARGET_TRIPLE "powerpc64le-unknown-linux-gnu"
319 #else
320 #error "unknown architecture"
321 #endif
322 
323 /* Define if zlib compression is available */
324 #define LLVM_ENABLE_ZLIB 1
325 
326 /* Define if overriding target triple is enabled */
327 /* #undef LLVM_TARGET_TRIPLE_ENV */
328 
329 /* LLVM version information */
330 /* #undef LLVM_VERSION_INFO */
331 
332 /* Whether tools show host and target info when invoked with --version */
333 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
334 
335 /* Define if libxml2 is supported on this platform. */
336 /* #undef LLVM_LIBXML2_ENABLED */
337 
338 /* Define to the extension used for shared libraries, say, ".so". */
339 #define LTDL_SHLIB_EXT ".so"
340 
341 /* Define to the address where bug reports for this package should be sent. */
342 #define PACKAGE_BUGREPORT "https://bugs.llvm.org/"
343 
344 /* Define to the full name of this package. */
345 #define PACKAGE_NAME "LLVM"
346 
347 /* Define to the full name and version of this package. */
348 #define PACKAGE_STRING "LLVM 10.0.0"
349 
350 /* Define to the version of this package. */
351 #define PACKAGE_VERSION "10.0.0"
352 
353 /* Define to the vendor of this package. */
354 /* #undef PACKAGE_VENDOR */
355 
356 /* Define as the return type of signal handlers (`int' or `void'). */
357 #define RETSIGTYPE void
358 
359 /* Define if std::is_trivially_copyable is supported */
360 #define HAVE_STD_IS_TRIVIALLY_COPYABLE 1
361 
362 /* Define to a function implementing stricmp */
363 /* #undef stricmp */
364 
365 /* Define to a function implementing strdup */
366 /* #undef strdup */
367 
368 /* Whether GlobalISel rule coverage is being collected */
369 #define LLVM_GISEL_COV_ENABLED 0
370 
371 /* Define if we have z3 and want to build it */
372 #define LLVM_WITH_Z3 1
373 
374 /* Define to the default GlobalISel coverage file prefix */
375 /* #undef LLVM_GISEL_COV_PREFIX */
376 
377 /* Whether Timers signpost passes in Xcode Instruments */
378 #define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
379 
380 #endif
381