config-osx.h 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. /* Exported configuration */
  4. #include "llvm/Config/llvm-config.h"
  5. /* Bug report URL. */
  6. #define BUG_REPORT_URL "https://bugs.llvm.org/"
  7. /* Define to 1 to enable backtraces, and to 0 otherwise. */
  8. #define ENABLE_BACKTRACES 1
  9. /* Define to 1 to enable crash overrides, and to 0 otherwise. */
  10. #define ENABLE_CRASH_OVERRIDES 1
  11. /* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
  12. #define LLVM_ENABLE_CRASH_DUMPS 0
  13. /* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
  14. backslashes. */
  15. #define LLVM_WINDOWS_PREFER_FORWARD_SLASH 0
  16. /* Define to 1 if you have the `backtrace' function. */
  17. #define HAVE_BACKTRACE TRUE
  18. #define BACKTRACE_HEADER <execinfo.h>
  19. /* Define to 1 if you have the <CrashReporterClient.h> header file. */
  20. /* #undef HAVE_CRASHREPORTERCLIENT_H */
  21. /* can use __crashreporter_info__ */
  22. #define HAVE_CRASHREPORTER_INFO 1
  23. /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
  24. don't. */
  25. #define HAVE_DECL_ARC4RANDOM 1
  26. /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
  27. don't. */
  28. #define HAVE_DECL_FE_ALL_EXCEPT 1
  29. /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
  30. don't. */
  31. #define HAVE_DECL_FE_INEXACT 1
  32. /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
  33. don't. */
  34. #define HAVE_DECL_STRERROR_S 0
  35. /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
  36. #define LLVM_ENABLE_DIA_SDK 0
  37. /* Define to 1 if you have the <dlfcn.h> header file. */
  38. #define HAVE_DLFCN_H 1
  39. /* Define if dlopen() is available on this platform. */
  40. #define HAVE_DLOPEN 1
  41. /* Define if dladdr() is available on this platform. */
  42. #define HAVE_DLADDR 1
  43. /* Define to 1 if you have the <errno.h> header file. */
  44. #define HAVE_ERRNO_H 1
  45. /* Define to 1 if you have the <fcntl.h> header file. */
  46. #define HAVE_FCNTL_H 1
  47. /* Define to 1 if you have the <fenv.h> header file. */
  48. #define HAVE_FENV_H 1
  49. /* Define if libffi is available on this platform. */
  50. #define HAVE_FFI_CALL 1
  51. /* Define to 1 if you have the <ffi/ffi.h> header file. */
  52. /* #undef HAVE_FFI_FFI_H */
  53. /* Define to 1 if you have the <ffi.h> header file. */
  54. #define HAVE_FFI_H 1
  55. /* Define to 1 if you have the `futimens' function. */
  56. /* #undef HAVE_FUTIMENS */
  57. /* Define to 1 if you have the `futimes' function. */
  58. #define HAVE_FUTIMES 1
  59. /* Define to 1 if you have the `getpagesize' function. */
  60. #define HAVE_GETPAGESIZE 1
  61. /* Define to 1 if you have the `getrlimit' function. */
  62. #define HAVE_GETRLIMIT 1
  63. /* Define to 1 if you have the `getrusage' function. */
  64. #define HAVE_GETRUSAGE 1
  65. /* Define to 1 if you have the `isatty' function. */
  66. #define HAVE_ISATTY 1
  67. /* Define to 1 if you have the `edit' library (-ledit). */
  68. /* #undef HAVE_LIBEDIT */
  69. /* Define to 1 if you have the `pfm' library (-lpfm). */
  70. /* #undef HAVE_LIBPFM */
  71. /* Define to 1 if you have the `psapi' library (-lpsapi). */
  72. /* #undef HAVE_LIBPSAPI */
  73. /* Define to 1 if you have the `pthread' library (-lpthread). */
  74. #define HAVE_LIBPTHREAD 1
  75. /* Define to 1 if you have the `pthread_getname_np' function. */
  76. #define HAVE_PTHREAD_GETNAME_NP 1
  77. /* Define to 1 if you have the `pthread_setname_np' function. */
  78. #define HAVE_PTHREAD_SETNAME_NP 1
  79. /* Define to 1 if you have the `z' library (-lz). */
  80. #define HAVE_LIBZ 1
  81. /* Define to 1 if you have the <link.h> header file. */
  82. /* #undef HAVE_LINK_H */
  83. /* Define to 1 if you have the `lseek64' function. */
  84. /* #undef HAVE_LSEEK64 */
  85. /* Define to 1 if you have the <mach/mach.h> header file. */
  86. #define HAVE_MACH_MACH_H 1
  87. /* Define to 1 if you have the `mallctl' function. */
  88. /* #undef HAVE_MALLCTL */
  89. /* Define to 1 if you have the `mallinfo' function. */
  90. /* #undef HAVE_MALLINFO */
  91. /* Define to 1 if you have the <malloc/malloc.h> header file. */
  92. #define HAVE_MALLOC_MALLOC_H 1
  93. /* Define to 1 if you have the `malloc_zone_statistics' function. */
  94. #define HAVE_MALLOC_ZONE_STATISTICS 1
  95. /* Define to 1 if you have the `posix_fallocate' function. */
  96. /* #undef HAVE_POSIX_FALLOCATE */
  97. /* Define to 1 if you have the `posix_spawn' function. */
  98. #define HAVE_POSIX_SPAWN 1
  99. /* Define to 1 if you have the `pread' function. */
  100. #define HAVE_PREAD 1
  101. /* Have pthread_getspecific */
  102. #define HAVE_PTHREAD_GETSPECIFIC 1
  103. /* Define to 1 if you have the <pthread.h> header file. */
  104. #define HAVE_PTHREAD_H 1
  105. /* Have pthread_mutex_lock */
  106. #define HAVE_PTHREAD_MUTEX_LOCK 1
  107. /* Have pthread_rwlock_init */
  108. #define HAVE_PTHREAD_RWLOCK_INIT 1
  109. /* Define to 1 if you have the `sbrk' function. */
  110. #define HAVE_SBRK 1
  111. /* Define to 1 if you have the `setenv' function. */
  112. #define HAVE_SETENV 1
  113. /* Define to 1 if you have the `sched_getaffinity' function. */
  114. /* #undef HAVE_SCHED_GETAFFINITY */
  115. /* Define to 1 if you have the `CPU_COUNT' macro. */
  116. /* #undef HAVE_CPU_COUNT */
  117. /* Define to 1 if you have the `setrlimit' function. */
  118. #define HAVE_SETRLIMIT 1
  119. /* Define to 1 if you have the `sigaltstack' function. */
  120. /* #undef HAVE_SIGALTSTACK */
  121. /* Define to 1 if you have the <signal.h> header file. */
  122. #define HAVE_SIGNAL_H 1
  123. /* Define to 1 if you have the `strerror' function. */
  124. #define HAVE_STRERROR 1
  125. /* Define to 1 if you have the `strerror_r' function. */
  126. #define HAVE_STRERROR_R 1
  127. /* Define to 1 if you have the `sysconf' function. */
  128. #define HAVE_SYSCONF 1
  129. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  130. #define HAVE_SYS_IOCTL_H 1
  131. /* Define to 1 if you have the <sys/mman.h> header file. */
  132. #define HAVE_SYS_MMAN_H 1
  133. /* Define to 1 if you have the <sys/param.h> header file. */
  134. #define HAVE_SYS_PARAM_H 1
  135. /* Define to 1 if you have the <sys/resource.h> header file. */
  136. #define HAVE_SYS_RESOURCE_H 1
  137. /* Define to 1 if you have the <sys/stat.h> header file. */
  138. #define HAVE_SYS_STAT_H 1
  139. /* Define to 1 if you have the <sys/time.h> header file. */
  140. #define HAVE_SYS_TIME_H 1
  141. /* Define to 1 if stat struct has st_mtimespec member .*/
  142. #define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
  143. /* Define to 1 if stat struct has st_mtim member. */
  144. /* #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC */
  145. /* Define to 1 if you have the <sys/types.h> header file. */
  146. #define HAVE_SYS_TYPES_H 1
  147. /* Define if the setupterm() function is supported this platform. */
  148. /* #undef HAVE_TERMINFO */
  149. /* Define if the xar_open() function is supported this platform. */
  150. /* #undef HAVE_LIBXAR */
  151. /* Define to 1 if you have the <termios.h> header file. */
  152. #define HAVE_TERMIOS_H 1
  153. /* Define to 1 if you have the <unistd.h> header file. */
  154. #define HAVE_UNISTD_H 1
  155. /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
  156. /* #undef HAVE_VALGRIND_VALGRIND_H */
  157. /* Define to 1 if you have the <zlib.h> header file. */
  158. #define HAVE_ZLIB_H 1
  159. /* Have host's _alloca */
  160. /* #undef HAVE__ALLOCA */
  161. /* Define to 1 if you have the `_chsize_s' function. */
  162. /* #undef HAVE__CHSIZE_S */
  163. /* Define to 1 if you have the `_Unwind_Backtrace' function. */
  164. #define HAVE__UNWIND_BACKTRACE 1
  165. /* Have host's __alloca */
  166. /* #undef HAVE___ALLOCA */
  167. /* Have host's __ashldi3 */
  168. /* #undef HAVE___ASHLDI3 */
  169. /* Have host's __ashrdi3 */
  170. /* #undef HAVE___ASHRDI3 */
  171. /* Have host's __chkstk */
  172. /* #undef HAVE___CHKSTK */
  173. /* Have host's __chkstk_ms */
  174. /* #undef HAVE___CHKSTK_MS */
  175. /* Have host's __cmpdi2 */
  176. /* #undef HAVE___CMPDI2 */
  177. /* Have host's __divdi3 */
  178. /* #undef HAVE___DIVDI3 */
  179. /* Have host's __fixdfdi */
  180. /* #undef HAVE___FIXDFDI */
  181. /* Have host's __fixsfdi */
  182. /* #undef HAVE___FIXSFDI */
  183. /* Have host's __floatdidf */
  184. /* #undef HAVE___FLOATDIDF */
  185. /* Have host's __lshrdi3 */
  186. /* #undef HAVE___LSHRDI3 */
  187. /* Have host's __main */
  188. /* #undef HAVE___MAIN */
  189. /* Have host's __moddi3 */
  190. /* #undef HAVE___MODDI3 */
  191. /* Have host's __udivdi3 */
  192. /* #undef HAVE___UDIVDI3 */
  193. /* Have host's __umoddi3 */
  194. /* #undef HAVE___UMODDI3 */
  195. /* Have host's ___chkstk */
  196. /* #undef HAVE____CHKSTK */
  197. /* Have host's ___chkstk_ms */
  198. /* #undef HAVE____CHKSTK_MS */
  199. /* Linker version detected at compile time. */
  200. /* #undef HOST_LINK_VERSION */
  201. /* Target triple LLVM will generate code for by default */
  202. /* Doesn't use `cmakedefine` because it is allowed to be empty. */
  203. #define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-apple-darwin"
  204. /* Define if zlib compression is available */
  205. #define LLVM_ENABLE_ZLIB 1
  206. /* Define if overriding target triple is enabled */
  207. /* #undef LLVM_TARGET_TRIPLE_ENV */
  208. /* LLVM version information */
  209. /* #undef LLVM_VERSION_INFO */
  210. /* Whether tools show host and target info when invoked with --version */
  211. #define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
  212. /* Define if libxml2 is supported on this platform. */
  213. /* #undef LLVM_LIBXML2_ENABLED */
  214. /* Define to the extension used for shared libraries, say, ".so". */
  215. #define LTDL_SHLIB_EXT ".dylib"
  216. /* Define to the address where bug reports for this package should be sent. */
  217. #define PACKAGE_BUGREPORT "https://bugs.llvm.org/"
  218. /* Define to the full name of this package. */
  219. #define PACKAGE_NAME "LLVM"
  220. /* Define to the full name and version of this package. */
  221. #define PACKAGE_STRING "LLVM 16.0.0"
  222. /* Define to the version of this package. */
  223. #define PACKAGE_VERSION "16.0.0"
  224. /* Define to the vendor of this package. */
  225. /* #undef PACKAGE_VENDOR */
  226. /* Define as the return type of signal handlers (`int' or `void'). */
  227. #define RETSIGTYPE void
  228. /* Define if std::is_trivially_copyable is supported */
  229. #define HAVE_STD_IS_TRIVIALLY_COPYABLE 1
  230. /* Define to a function implementing stricmp */
  231. /* #undef stricmp */
  232. /* Define to a function implementing strdup */
  233. /* #undef strdup */
  234. /* Whether GlobalISel rule coverage is being collected */
  235. #define LLVM_GISEL_COV_ENABLED 0
  236. /* Define if we have z3 and want to build it */
  237. /* #undef LLVM_WITH_Z3 */
  238. /* Define to the default GlobalISel coverage file prefix */
  239. /* #undef LLVM_GISEL_COV_PREFIX */
  240. /* Whether Timers signpost passes in Xcode Instruments */
  241. #define LLVM_SUPPORT_XCODE_SIGNPOSTS 0
  242. #endif