5 // Include this header only under the llvm source tree.
6 // This is a private header.
8 /* Exported configuration */
9 #include "llvm/Config/llvm-config.h"
12 #define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
14 /* Define to 1 to enable backtraces, and to 0 otherwise. */
15 #define ENABLE_BACKTRACES 1
17 /* Define to 1 to enable crash overrides, and to 0 otherwise. */
18 #define ENABLE_CRASH_OVERRIDES 1
20 /* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
21 #define LLVM_ENABLE_CRASH_DUMPS 0
23 /* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
25 #define LLVM_WINDOWS_PREFER_FORWARD_SLASH 0
27 /* Define to 1 if you have the `backtrace' function. */
28 #define HAVE_BACKTRACE TRUE
30 #define BACKTRACE_HEADER <execinfo.h>
32 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
33 /* #undef HAVE_CRASHREPORTERCLIENT_H */
35 /* can use __crashreporter_info__ */
36 #if defined(__APPLE__)
37 #define HAVE_CRASHREPORTER_INFO 1
39 #define HAVE_CRASHREPORTER_INFO 0
42 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
44 #define HAVE_DECL_ARC4RANDOM 1
46 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
48 #define HAVE_DECL_FE_ALL_EXCEPT 1
50 /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
52 #define HAVE_DECL_FE_INEXACT 1
54 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
56 #define HAVE_DECL_STRERROR_S 0
58 /* Define to 1 if you have the <dlfcn.h> header file. */
59 #define HAVE_DLFCN_H 1
61 /* Define if dlopen() is available on this platform. */
64 /* Define if dladdr() is available on this platform. */
67 #if !defined(__arm__) || defined(__USING_SJLJ_EXCEPTIONS__) || defined(__ARM_DWARF_EH__)
68 /* Define to 1 if we can register EH frames on this platform. */
69 #define HAVE_REGISTER_FRAME 1
71 /* Define to 1 if we can deregister EH frames on this platform. */
72 #define HAVE_DEREGISTER_FRAME 1
73 #endif // !arm || USING_SJLJ_EXCEPTIONS || ARM_DWARF_EH_
75 /* Define if __unw_add_dynamic_fde() is available on this platform. */
76 /* #undef HAVE_UNW_ADD_DYNAMIC_FDE */
78 /* Define to 1 if you have the <errno.h> header file. */
79 #define HAVE_ERRNO_H 1
81 /* Define to 1 if you have the <fcntl.h> header file. */
82 #define HAVE_FCNTL_H 1
84 /* Define to 1 if you have the <fenv.h> header file. */
87 /* Define if libffi is available on this platform. */
88 /* #undef HAVE_FFI_CALL */
90 /* Define to 1 if you have the <ffi/ffi.h> header file. */
91 /* #undef HAVE_FFI_FFI_H */
93 /* Define to 1 if you have the <ffi.h> header file. */
94 /* #undef HAVE_FFI_H */
96 /* Define to 1 if you have the `futimens' function. */
97 #define HAVE_FUTIMENS 1
99 /* Define to 1 if you have the `futimes' function. */
100 #define HAVE_FUTIMES 1
102 /* Define to 1 if you have the `getpagesize' function. */
103 #define HAVE_GETPAGESIZE 1
105 /* Define to 1 if you have the `getrlimit' function. */
106 #define HAVE_GETRLIMIT 1
108 /* Define to 1 if you have the `getrusage' function. */
109 #define HAVE_GETRUSAGE 1
111 /* Define to 1 if you have the `isatty' function. */
112 #define HAVE_ISATTY 1
114 /* Define to 1 if you have the `edit' library (-ledit). */
115 #define HAVE_LIBEDIT TRUE
117 /* Define to 1 if you have the `pfm' library (-lpfm). */
118 /* #undef HAVE_LIBPFM */
120 /* Define to 1 if the `perf_branch_entry' struct has field cycles. */
121 /* #undef LIBPFM_HAS_FIELD_CYCLES */
123 /* Define to 1 if you have the `psapi' library (-lpsapi). */
124 /* #undef HAVE_LIBPSAPI */
126 /* Define to 1 if you have the `pthread' library (-lpthread). */
127 #define HAVE_LIBPTHREAD 1
129 /* Define to 1 if you have the `pthread_getname_np' function. */
130 #define HAVE_PTHREAD_GETNAME_NP 1
132 /* Define to 1 if you have the `pthread_setname_np' function. */
133 #define HAVE_PTHREAD_SETNAME_NP 1
135 /* Define to 1 if you have the <link.h> header file. */
136 #if __has_include(<link.h>)
137 #define HAVE_LINK_H 1
139 #define HAVE_LINK_H 0
142 /* Define to 1 if you have the `lseek64' function. */
143 #if defined(__linux__)
144 #define HAVE_LSEEK64 1
147 /* Define to 1 if you have the <mach/mach.h> header file. */
148 #if __has_include(<mach/mach.h>)
149 #define HAVE_MACH_MACH_H 1
152 /* Define to 1 if you have the `mallctl' function. */
153 #if defined(__FreeBSD__)
154 #define HAVE_MALLCTL 1
157 /* Define to 1 if you have the `mallinfo' function. */
158 #if defined(__linux__)
159 #define HAVE_MALLINFO 1
162 /* Define to 1 if you have the `mallinfo2' function. */
163 /* #undef HAVE_MALLINFO2 */
165 /* Define to 1 if you have the <malloc/malloc.h> header file. */
166 #if __has_include(<malloc/malloc.h>)
167 #define HAVE_MALLOC_MALLOC_H 1
170 /* Define to 1 if you have the `malloc_zone_statistics' function. */
171 #if defined(__APPLE__)
172 #define HAVE_MALLOC_ZONE_STATISTICS 1
175 /* Define to 1 if you have the `posix_spawn' function. */
176 #define HAVE_POSIX_SPAWN 1
178 /* Define to 1 if you have the `pread' function. */
181 /* Define to 1 if you have the <pthread.h> header file. */
182 #define HAVE_PTHREAD_H 1
184 /* Have pthread_mutex_lock */
185 #define HAVE_PTHREAD_MUTEX_LOCK 1
187 /* Have pthread_rwlock_init */
188 #define HAVE_PTHREAD_RWLOCK_INIT 1
190 /* Define to 1 if you have the `sbrk' function. */
193 /* Define to 1 if you have the `setenv' function. */
194 #define HAVE_SETENV 1
196 /* Define to 1 if you have the `setrlimit' function. */
197 #define HAVE_SETRLIMIT 1
199 /* Define to 1 if you have the `sigaltstack' function. */
200 #define HAVE_SIGALTSTACK 1
202 /* Define to 1 if you have the <signal.h> header file. */
203 #define HAVE_SIGNAL_H 1
205 /* Define to 1 if you have the `strerror' function. */
206 #define HAVE_STRERROR 1
208 /* Define to 1 if you have the `strerror_r' function. */
209 #define HAVE_STRERROR_R 1
211 /* Define to 1 if you have the `sysconf' function. */
212 #define HAVE_SYSCONF 1
214 /* Define to 1 if you have the <sys/ioctl.h> header file. */
215 #define HAVE_SYS_IOCTL_H 1
217 /* Define to 1 if you have the <sys/mman.h> header file. */
218 #define HAVE_SYS_MMAN_H 1
220 /* Define to 1 if you have the <sys/param.h> header file. */
221 #define HAVE_SYS_PARAM_H 1
223 /* Define to 1 if you have the <sys/resource.h> header file. */
224 #define HAVE_SYS_RESOURCE_H 1
226 /* Define to 1 if you have the <sys/stat.h> header file. */
227 #define HAVE_SYS_STAT_H 1
229 /* Define to 1 if you have the <sys/time.h> header file. */
230 #define HAVE_SYS_TIME_H 1
232 /* Define to 1 if stat struct has st_mtimespec member .*/
233 #if !defined(__linux__)
234 #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
237 /* Define to 1 if stat struct has st_mtim member. */
238 #if !defined(__APPLE__)
239 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
242 /* Define to 1 if you have the <sys/types.h> header file. */
243 #define HAVE_SYS_TYPES_H 1
245 /* Define if the setupterm() function is supported this platform. */
246 #if defined(__FreeBSD__)
248 * This is only needed for terminalHasColors(). When disabled LLVM falls back
249 * to checking a list of TERM prefixes which is sufficient for a bootstrap tool.
251 #define LLVM_ENABLE_TERMINFO TRUE
254 /* Define to 1 if you have the <termios.h> header file. */
255 #define HAVE_TERMIOS_H 1
257 /* Define to 1 if you have the <unistd.h> header file. */
258 #define HAVE_UNISTD_H 1
260 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
261 /* #undef HAVE_VALGRIND_VALGRIND_H */
263 /* Have host's _alloca */
264 /* #undef HAVE__ALLOCA */
266 /* Define to 1 if you have the `_chsize_s' function. */
267 /* #undef HAVE__CHSIZE_S */
269 /* Define to 1 if you have the `_Unwind_Backtrace' function. */
270 #define HAVE__UNWIND_BACKTRACE 1
272 /* Have host's __alloca */
273 /* #undef HAVE___ALLOCA */
275 /* Have host's __ashldi3 */
276 /* #undef HAVE___ASHLDI3 */
278 /* Have host's __ashrdi3 */
279 /* #undef HAVE___ASHRDI3 */
281 /* Have host's __chkstk */
282 /* #undef HAVE___CHKSTK */
284 /* Have host's __chkstk_ms */
285 /* #undef HAVE___CHKSTK_MS */
287 /* Have host's __cmpdi2 */
288 /* #undef HAVE___CMPDI2 */
290 /* Have host's __divdi3 */
291 /* #undef HAVE___DIVDI3 */
293 /* Have host's __fixdfdi */
294 /* #undef HAVE___FIXDFDI */
296 /* Have host's __fixsfdi */
297 /* #undef HAVE___FIXSFDI */
299 /* Have host's __floatdidf */
300 /* #undef HAVE___FLOATDIDF */
302 /* Have host's __lshrdi3 */
303 /* #undef HAVE___LSHRDI3 */
305 /* Have host's __main */
306 /* #undef HAVE___MAIN */
308 /* Have host's __moddi3 */
309 /* #undef HAVE___MODDI3 */
311 /* Have host's __udivdi3 */
312 /* #undef HAVE___UDIVDI3 */
314 /* Have host's __umoddi3 */
315 /* #undef HAVE___UMODDI3 */
317 /* Have host's ___chkstk */
318 /* #undef HAVE____CHKSTK */
320 /* Have host's ___chkstk_ms */
321 /* #undef HAVE____CHKSTK_MS */
323 /* Linker version detected at compile time. */
324 /* #undef HOST_LINK_VERSION */
326 /* Define if overriding target triple is enabled */
327 /* #undef LLVM_TARGET_TRIPLE_ENV */
329 /* Whether tools show host and target info when invoked with --version */
330 #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
332 /* Define if libxml2 is supported on this platform. */
333 /* #undef LLVM_ENABLE_LIBXML2 */
335 /* Define to the extension used for shared libraries, say, ".so". */
336 #if defined(__APPLE__)
337 #define LTDL_SHLIB_EXT ".dylib"
339 #define LTDL_SHLIB_EXT ".so"
342 /* Define to the extension used for plugin libraries, say, ".so". */
343 #if defined(__APPLE__)
344 #define LLVM_PLUGIN_EXT ".dylib"
346 #define LLVM_PLUGIN_EXT ".so"
349 /* Define to the address where bug reports for this package should be sent. */
350 #define PACKAGE_BUGREPORT "https://bugs.freebsd.org/submit/"
352 /* Define to the full name of this package. */
353 #define PACKAGE_NAME "LLVM"
355 /* Define to the full name and version of this package. */
356 #define PACKAGE_STRING "LLVM 15.0.7"
358 /* Define to the version of this package. */
359 #define PACKAGE_VERSION "15.0.7"
361 /* Define to the vendor of this package. */
362 /* #undef PACKAGE_VENDOR */
364 /* Define if std::is_trivially_copyable is supported */
365 #define HAVE_STD_IS_TRIVIALLY_COPYABLE 1
367 /* Define to a function implementing stricmp */
370 /* Define to a function implementing strdup */
373 /* Whether GlobalISel rule coverage is being collected */
374 #define LLVM_GISEL_COV_ENABLED 0
376 /* Define to the default GlobalISel coverage file prefix */
377 /* #undef LLVM_GISEL_COV_PREFIX */
379 /* Whether Timers signpost passes in Xcode Instruments */
380 #if defined(__APPLE__)
381 #define LLVM_SUPPORT_XCODE_SIGNPOSTS 1
383 #define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
386 /* #undef HAVE_PROC_PID_RUSAGE */