xref: /freebsd/lib/clang/include/llvm/Config/config.h (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1 /* $FreeBSD$ */
2 #ifndef CONFIG_H
3 #define CONFIG_H
4 
5 // Include this header only under the llvm source tree.
6 // This is a private header.
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 1
16 
17 /* Define to 1 to enable crash overrides, and to 0 otherwise. */
18 #define ENABLE_CRASH_OVERRIDES 1
19 
20 /* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
21 #define LLVM_ENABLE_CRASH_DUMPS 0
22 
23 /* Define to 1 if you have the `backtrace' function. */
24 #define HAVE_BACKTRACE TRUE
25 
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 #define HAVE_PTHREAD_GETNAME_NP 1
112 
113 /* Define to 1 if you have the `pthread_setname_np' function. */
114 #define HAVE_PTHREAD_SETNAME_NP 1
115 
116 /* Define to 1 if you have the `z' library (-lz). */
117 #define HAVE_LIBZ 1
118 
119 /* Define to 1 if you have the <link.h> header file. */
120 #define HAVE_LINK_H 1
121 
122 /* Define to 1 if you have the `lseek64' function. */
123 /* #undef HAVE_LSEEK64 */
124 
125 /* Define to 1 if you have the <mach/mach.h> header file. */
126 /* #undef HAVE_MACH_MACH_H */
127 
128 /* Define to 1 if you have the `mallctl' function. */
129 #define HAVE_MALLCTL 1
130 
131 /* Define to 1 if you have the `mallinfo' function. */
132 /* #undef HAVE_MALLINFO */
133 
134 /* Define to 1 if you have the <malloc/malloc.h> header file. */
135 /* #undef HAVE_MALLOC_MALLOC_H */
136 
137 /* Define to 1 if you have the `malloc_zone_statistics' function. */
138 /* #undef HAVE_MALLOC_ZONE_STATISTICS */
139 
140 /* Define to 1 if you have the `posix_fallocate' function. */
141 #define HAVE_POSIX_FALLOCATE 1
142 
143 /* Define to 1 if you have the `posix_spawn' function. */
144 #define HAVE_POSIX_SPAWN 1
145 
146 /* Define to 1 if you have the `pread' function. */
147 #define HAVE_PREAD 1
148 
149 /* Have pthread_getspecific */
150 #define HAVE_PTHREAD_GETSPECIFIC 1
151 
152 /* Define to 1 if you have the <pthread.h> header file. */
153 #define HAVE_PTHREAD_H 1
154 
155 /* Have pthread_mutex_lock */
156 #define HAVE_PTHREAD_MUTEX_LOCK 1
157 
158 /* Have pthread_rwlock_init */
159 #define HAVE_PTHREAD_RWLOCK_INIT 1
160 
161 /* Define to 1 if you have the `sbrk' function. */
162 #define HAVE_SBRK 1
163 
164 /* Define to 1 if you have the `setenv' function. */
165 #define HAVE_SETENV 1
166 
167 /* Define to 1 if you have the `setrlimit' function. */
168 #define HAVE_SETRLIMIT 1
169 
170 /* Define to 1 if you have the `sigaltstack' function. */
171 #define HAVE_SIGALTSTACK 1
172 
173 /* Define to 1 if you have the <signal.h> header file. */
174 #define HAVE_SIGNAL_H 1
175 
176 /* Define to 1 if you have the `strerror' function. */
177 #define HAVE_STRERROR 1
178 
179 /* Define to 1 if you have the `strerror_r' function. */
180 #define HAVE_STRERROR_R 1
181 
182 /* Define to 1 if you have the `sysconf' function. */
183 #define HAVE_SYSCONF 1
184 
185 /* Define to 1 if you have the <sys/ioctl.h> header file. */
186 #define HAVE_SYS_IOCTL_H 1
187 
188 /* Define to 1 if you have the <sys/mman.h> header file. */
189 #define HAVE_SYS_MMAN_H 1
190 
191 /* Define to 1 if you have the <sys/param.h> header file. */
192 #define HAVE_SYS_PARAM_H 1
193 
194 /* Define to 1 if you have the <sys/resource.h> header file. */
195 #define HAVE_SYS_RESOURCE_H 1
196 
197 /* Define to 1 if you have the <sys/stat.h> header file. */
198 #define HAVE_SYS_STAT_H 1
199 
200 /* Define to 1 if you have the <sys/time.h> header file. */
201 #define HAVE_SYS_TIME_H 1
202 
203 /* Define to 1 if stat struct has st_mtimespec member .*/
204 #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
205 
206 /* Define to 1 if stat struct has st_mtim member. */
207 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
208 
209 /* Define to 1 if you have the <sys/types.h> header file. */
210 #define HAVE_SYS_TYPES_H 1
211 
212 /* Define if the setupterm() function is supported this platform. */
213 #define HAVE_TERMINFO 1
214 
215 /* Define if the xar_open() function is supported this platform. */
216 /* #undef HAVE_LIBXAR */
217 
218 /* Define to 1 if you have the <termios.h> header file. */
219 #define HAVE_TERMIOS_H 1
220 
221 /* Define to 1 if you have the <unistd.h> header file. */
222 #define HAVE_UNISTD_H 1
223 
224 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
225 /* #undef HAVE_VALGRIND_VALGRIND_H */
226 
227 /* Define to 1 if you have the <zlib.h> header file. */
228 #define HAVE_ZLIB_H 1
229 
230 /* Have host's _alloca */
231 /* #undef HAVE__ALLOCA */
232 
233 /* Define to 1 if you have the `_chsize_s' function. */
234 /* #undef HAVE__CHSIZE_S */
235 
236 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
237 /* #undef HAVE__UNWIND_BACKTRACE */
238 
239 /* Have host's __alloca */
240 /* #undef HAVE___ALLOCA */
241 
242 /* Have host's __ashldi3 */
243 /* #undef HAVE___ASHLDI3 */
244 
245 /* Have host's __ashrdi3 */
246 /* #undef HAVE___ASHRDI3 */
247 
248 /* Have host's __chkstk */
249 /* #undef HAVE___CHKSTK */
250 
251 /* Have host's __chkstk_ms */
252 /* #undef HAVE___CHKSTK_MS */
253 
254 /* Have host's __cmpdi2 */
255 /* #undef HAVE___CMPDI2 */
256 
257 /* Have host's __divdi3 */
258 /* #undef HAVE___DIVDI3 */
259 
260 /* Have host's __fixdfdi */
261 /* #undef HAVE___FIXDFDI */
262 
263 /* Have host's __fixsfdi */
264 /* #undef HAVE___FIXSFDI */
265 
266 /* Have host's __floatdidf */
267 /* #undef HAVE___FLOATDIDF */
268 
269 /* Have host's __lshrdi3 */
270 /* #undef HAVE___LSHRDI3 */
271 
272 /* Have host's __main */
273 /* #undef HAVE___MAIN */
274 
275 /* Have host's __moddi3 */
276 /* #undef HAVE___MODDI3 */
277 
278 /* Have host's __udivdi3 */
279 /* #undef HAVE___UDIVDI3 */
280 
281 /* Have host's __umoddi3 */
282 /* #undef HAVE___UMODDI3 */
283 
284 /* Have host's ___chkstk */
285 /* #undef HAVE____CHKSTK */
286 
287 /* Have host's ___chkstk_ms */
288 /* #undef HAVE____CHKSTK_MS */
289 
290 /* Linker version detected at compile time. */
291 /* #undef HOST_LINK_VERSION */
292 
293 /* Target triple LLVM will generate code for by default */
294 /* Doesn't use `cmakedefine` because it is allowed to be empty. */
295 /* #undef LLVM_DEFAULT_TARGET_TRIPLE */
296 
297 /* Define if zlib compression is available */
298 #define LLVM_ENABLE_ZLIB 1
299 
300 /* Define if overriding target triple is enabled */
301 /* #undef LLVM_TARGET_TRIPLE_ENV */
302 
303 /* LLVM version information */
304 /* #undef LLVM_VERSION_INFO */
305 
306 /* Whether tools show host and target info when invoked with --version */
307 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
308 
309 /* Define if libxml2 is supported on this platform. */
310 /* #undef LLVM_LIBXML2_ENABLED */
311 
312 /* Define to the extension used for shared libraries, say, ".so". */
313 #define LTDL_SHLIB_EXT ".so"
314 
315 /* Define to the address where bug reports for this package should be sent. */
316 #define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
317 
318 /* Define to the full name of this package. */
319 #define PACKAGE_NAME "LLVM"
320 
321 /* Define to the full name and version of this package. */
322 #define PACKAGE_STRING "LLVM 11.0.1"
323 
324 /* Define to the version of this package. */
325 #define PACKAGE_VERSION "11.0.1"
326 
327 /* Define to the vendor of this package. */
328 /* #undef PACKAGE_VENDOR */
329 
330 /* Define as the return type of signal handlers (`int' or `void'). */
331 #define RETSIGTYPE void
332 
333 /* Define if std::is_trivially_copyable is supported */
334 #define HAVE_STD_IS_TRIVIALLY_COPYABLE 1
335 
336 /* Define to a function implementing stricmp */
337 /* #undef stricmp */
338 
339 /* Define to a function implementing strdup */
340 /* #undef strdup */
341 
342 /* Whether GlobalISel rule coverage is being collected */
343 #define LLVM_GISEL_COV_ENABLED 0
344 
345 /* Define to the default GlobalISel coverage file prefix */
346 /* #undef LLVM_GISEL_COV_PREFIX */
347 
348 /* Whether Timers signpost passes in Xcode Instruments */
349 #define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
350 
351 #endif
352