config.h.cmake 11 KB

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