config.h.cmake 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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 DIA SDK installed, and to 0 if you don't. */
  38. #cmakedefine01 LLVM_ENABLE_DIA_SDK
  39. /* Define to 1 if you have the <dlfcn.h> header file. */
  40. #cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
  41. /* Define if dlopen() is available on this platform. */
  42. #cmakedefine HAVE_DLOPEN ${HAVE_DLOPEN}
  43. /* Define if dladdr() is available on this platform. */
  44. #cmakedefine HAVE_DLADDR ${HAVE_DLADDR}
  45. /* Define to 1 if we can register EH frames on this platform. */
  46. #cmakedefine HAVE_REGISTER_FRAME ${HAVE_REGISTER_FRAME}
  47. /* Define to 1 if we can deregister EH frames on this platform. */
  48. #cmakedefine HAVE_DEREGISTER_FRAME ${HAVE_DEREGISTER_FRAME}
  49. /* Define if __unw_add_dynamic_fde() is available on this platform. */
  50. #cmakedefine HAVE_UNW_ADD_DYNAMIC_FDE ${HAVE_UNW_ADD_DYNAMIC_FDE}
  51. /* Define to 1 if you have the <errno.h> header file. */
  52. #cmakedefine HAVE_ERRNO_H ${HAVE_ERRNO_H}
  53. /* Define to 1 if you have the <fcntl.h> header file. */
  54. #cmakedefine HAVE_FCNTL_H ${HAVE_FCNTL_H}
  55. /* Define to 1 if you have the <fenv.h> header file. */
  56. #cmakedefine HAVE_FENV_H ${HAVE_FENV_H}
  57. /* Define if libffi is available on this platform. */
  58. #cmakedefine HAVE_FFI_CALL ${HAVE_FFI_CALL}
  59. /* Define to 1 if you have the <ffi/ffi.h> header file. */
  60. #cmakedefine HAVE_FFI_FFI_H ${HAVE_FFI_FFI_H}
  61. /* Define to 1 if you have the <ffi.h> header file. */
  62. #cmakedefine HAVE_FFI_H ${HAVE_FFI_H}
  63. /* Define to 1 if you have the `futimens' function. */
  64. #cmakedefine HAVE_FUTIMENS ${HAVE_FUTIMENS}
  65. /* Define to 1 if you have the `futimes' function. */
  66. #cmakedefine HAVE_FUTIMES ${HAVE_FUTIMES}
  67. /* Define to 1 if you have the `getpagesize' function. */
  68. #cmakedefine HAVE_GETPAGESIZE ${HAVE_GETPAGESIZE}
  69. /* Define to 1 if you have the `getrlimit' function. */
  70. #cmakedefine HAVE_GETRLIMIT ${HAVE_GETRLIMIT}
  71. /* Define to 1 if you have the `getrusage' function. */
  72. #cmakedefine HAVE_GETRUSAGE ${HAVE_GETRUSAGE}
  73. /* Define to 1 if you have the `isatty' function. */
  74. #cmakedefine HAVE_ISATTY 1
  75. /* Define to 1 if you have the `edit' library (-ledit). */
  76. #cmakedefine HAVE_LIBEDIT ${HAVE_LIBEDIT}
  77. /* Define to 1 if you have the `pfm' library (-lpfm). */
  78. #cmakedefine HAVE_LIBPFM ${HAVE_LIBPFM}
  79. /* Define to 1 if the `perf_branch_entry' struct has field cycles. */
  80. #cmakedefine LIBPFM_HAS_FIELD_CYCLES ${LIBPFM_HAS_FIELD_CYCLES}
  81. /* Define to 1 if you have the `psapi' library (-lpsapi). */
  82. #cmakedefine HAVE_LIBPSAPI ${HAVE_LIBPSAPI}
  83. /* Define to 1 if you have the `pthread' library (-lpthread). */
  84. #cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD}
  85. /* Define to 1 if you have the `pthread_getname_np' function. */
  86. #cmakedefine HAVE_PTHREAD_GETNAME_NP ${HAVE_PTHREAD_GETNAME_NP}
  87. /* Define to 1 if you have the `pthread_setname_np' function. */
  88. #cmakedefine HAVE_PTHREAD_SETNAME_NP ${HAVE_PTHREAD_SETNAME_NP}
  89. /* Define to 1 if you have the <link.h> header file. */
  90. #cmakedefine HAVE_LINK_H ${HAVE_LINK_H}
  91. /* Define to 1 if you have the `lseek64' function. */
  92. #cmakedefine HAVE_LSEEK64 ${HAVE_LSEEK64}
  93. /* Define to 1 if you have the <mach/mach.h> header file. */
  94. #cmakedefine HAVE_MACH_MACH_H ${HAVE_MACH_MACH_H}
  95. /* Define to 1 if you have the `mallctl' function. */
  96. #cmakedefine HAVE_MALLCTL ${HAVE_MALLCTL}
  97. /* Define to 1 if you have the `mallinfo' function. */
  98. #cmakedefine HAVE_MALLINFO ${HAVE_MALLINFO}
  99. /* Define to 1 if you have the `mallinfo2' function. */
  100. #cmakedefine HAVE_MALLINFO2 ${HAVE_MALLINFO2}
  101. /* Define to 1 if you have the <malloc/malloc.h> header file. */
  102. #cmakedefine HAVE_MALLOC_MALLOC_H ${HAVE_MALLOC_MALLOC_H}
  103. /* Define to 1 if you have the `malloc_zone_statistics' function. */
  104. #cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS}
  105. /* Define to 1 if you have the `posix_spawn' function. */
  106. #cmakedefine HAVE_POSIX_SPAWN ${HAVE_POSIX_SPAWN}
  107. /* Define to 1 if you have the `pread' function. */
  108. #cmakedefine HAVE_PREAD ${HAVE_PREAD}
  109. /* Have pthread_getspecific */
  110. #cmakedefine HAVE_PTHREAD_GETSPECIFIC ${HAVE_PTHREAD_GETSPECIFIC}
  111. /* Define to 1 if you have the <pthread.h> header file. */
  112. #cmakedefine HAVE_PTHREAD_H ${HAVE_PTHREAD_H}
  113. /* Have pthread_mutex_lock */
  114. #cmakedefine HAVE_PTHREAD_MUTEX_LOCK ${HAVE_PTHREAD_MUTEX_LOCK}
  115. /* Have pthread_rwlock_init */
  116. #cmakedefine HAVE_PTHREAD_RWLOCK_INIT ${HAVE_PTHREAD_RWLOCK_INIT}
  117. /* Define to 1 if you have the `sbrk' function. */
  118. #cmakedefine HAVE_SBRK ${HAVE_SBRK}
  119. /* Define to 1 if you have the `setenv' function. */
  120. #cmakedefine HAVE_SETENV ${HAVE_SETENV}
  121. /* Define to 1 if you have the `setrlimit' function. */
  122. #cmakedefine HAVE_SETRLIMIT ${HAVE_SETRLIMIT}
  123. /* Define to 1 if you have the `sigaltstack' function. */
  124. #cmakedefine HAVE_SIGALTSTACK ${HAVE_SIGALTSTACK}
  125. /* Define to 1 if you have the <signal.h> header file. */
  126. #cmakedefine HAVE_SIGNAL_H ${HAVE_SIGNAL_H}
  127. /* Define to 1 if you have the `strerror' function. */
  128. #cmakedefine HAVE_STRERROR ${HAVE_STRERROR}
  129. /* Define to 1 if you have the `strerror_r' function. */
  130. #cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R}
  131. /* Define to 1 if you have the `sysconf' function. */
  132. #cmakedefine HAVE_SYSCONF ${HAVE_SYSCONF}
  133. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  134. #cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H}
  135. /* Define to 1 if you have the <sys/mman.h> header file. */
  136. #cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}
  137. /* Define to 1 if you have the <sys/param.h> header file. */
  138. #cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H}
  139. /* Define to 1 if you have the <sys/resource.h> header file. */
  140. #cmakedefine HAVE_SYS_RESOURCE_H ${HAVE_SYS_RESOURCE_H}
  141. /* Define to 1 if you have the <sys/stat.h> header file. */
  142. #cmakedefine HAVE_SYS_STAT_H ${HAVE_SYS_STAT_H}
  143. /* Define to 1 if you have the <sys/time.h> header file. */
  144. #cmakedefine HAVE_SYS_TIME_H ${HAVE_SYS_TIME_H}
  145. /* Define to 1 if stat struct has st_mtimespec member .*/
  146. #cmakedefine HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC}
  147. /* Define to 1 if stat struct has st_mtim member. */
  148. #cmakedefine HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC}
  149. /* Define to 1 if you have the <sys/types.h> header file. */
  150. #cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
  151. /* Define if the setupterm() function is supported this platform. */
  152. #cmakedefine LLVM_ENABLE_TERMINFO ${LLVM_ENABLE_TERMINFO}
  153. /* Define to 1 if you have the <termios.h> header file. */
  154. #cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H}
  155. /* Define to 1 if you have the <unistd.h> header file. */
  156. #cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H}
  157. /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
  158. #cmakedefine HAVE_VALGRIND_VALGRIND_H ${HAVE_VALGRIND_VALGRIND_H}
  159. /* Have host's _alloca */
  160. #cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA}
  161. /* Define to 1 if you have the `_chsize_s' function. */
  162. #cmakedefine HAVE__CHSIZE_S ${HAVE__CHSIZE_S}
  163. /* Define to 1 if you have the `_Unwind_Backtrace' function. */
  164. #cmakedefine HAVE__UNWIND_BACKTRACE ${HAVE__UNWIND_BACKTRACE}
  165. /* Have host's __alloca */
  166. #cmakedefine HAVE___ALLOCA ${HAVE___ALLOCA}
  167. /* Have host's __ashldi3 */
  168. #cmakedefine HAVE___ASHLDI3 ${HAVE___ASHLDI3}
  169. /* Have host's __ashrdi3 */
  170. #cmakedefine HAVE___ASHRDI3 ${HAVE___ASHRDI3}
  171. /* Have host's __chkstk */
  172. #cmakedefine HAVE___CHKSTK ${HAVE___CHKSTK}
  173. /* Have host's __chkstk_ms */
  174. #cmakedefine HAVE___CHKSTK_MS ${HAVE___CHKSTK_MS}
  175. /* Have host's __cmpdi2 */
  176. #cmakedefine HAVE___CMPDI2 ${HAVE___CMPDI2}
  177. /* Have host's __divdi3 */
  178. #cmakedefine HAVE___DIVDI3 ${HAVE___DIVDI3}
  179. /* Have host's __fixdfdi */
  180. #cmakedefine HAVE___FIXDFDI ${HAVE___FIXDFDI}
  181. /* Have host's __fixsfdi */
  182. #cmakedefine HAVE___FIXSFDI ${HAVE___FIXSFDI}
  183. /* Have host's __floatdidf */
  184. #cmakedefine HAVE___FLOATDIDF ${HAVE___FLOATDIDF}
  185. /* Have host's __lshrdi3 */
  186. #cmakedefine HAVE___LSHRDI3 ${HAVE___LSHRDI3}
  187. /* Have host's __main */
  188. #cmakedefine HAVE___MAIN ${HAVE___MAIN}
  189. /* Have host's __moddi3 */
  190. #cmakedefine HAVE___MODDI3 ${HAVE___MODDI3}
  191. /* Have host's __udivdi3 */
  192. #cmakedefine HAVE___UDIVDI3 ${HAVE___UDIVDI3}
  193. /* Have host's __umoddi3 */
  194. #cmakedefine HAVE___UMODDI3 ${HAVE___UMODDI3}
  195. /* Have host's ___chkstk */
  196. #cmakedefine HAVE____CHKSTK ${HAVE____CHKSTK}
  197. /* Have host's ___chkstk_ms */
  198. #cmakedefine HAVE____CHKSTK_MS ${HAVE____CHKSTK_MS}
  199. /* Linker version detected at compile time. */
  200. #cmakedefine HOST_LINK_VERSION "${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 "${LLVM_DEFAULT_TARGET_TRIPLE}"
  204. /* Define if overriding target triple is enabled */
  205. #cmakedefine LLVM_TARGET_TRIPLE_ENV "${LLVM_TARGET_TRIPLE_ENV}"
  206. /* LLVM version information */
  207. #cmakedefine LLVM_VERSION_INFO "${LLVM_VERSION_INFO}"
  208. /* Whether tools show host and target info when invoked with --version */
  209. #cmakedefine01 LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO
  210. /* Define if libxml2 is supported on this platform. */
  211. #cmakedefine LLVM_ENABLE_LIBXML2 ${LLVM_ENABLE_LIBXML2}
  212. /* Define to the extension used for shared libraries, say, ".so". */
  213. #cmakedefine LTDL_SHLIB_EXT "${LTDL_SHLIB_EXT}"
  214. /* Define to the extension used for plugin libraries, say, ".so". */
  215. #cmakedefine LLVM_PLUGIN_EXT "${LLVM_PLUGIN_EXT}"
  216. /* Define to the address where bug reports for this package should be sent. */
  217. #cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
  218. /* Define to the full name of this package. */
  219. #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
  220. /* Define to the full name and version of this package. */
  221. #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
  222. /* Define to the version of this package. */
  223. #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
  224. /* Define to the vendor of this package. */
  225. #cmakedefine PACKAGE_VENDOR "${PACKAGE_VENDOR}"
  226. /* Define as the return type of signal handlers (`int' or `void'). */
  227. #cmakedefine RETSIGTYPE ${RETSIGTYPE}
  228. /* Define if std::is_trivially_copyable is supported */
  229. #cmakedefine HAVE_STD_IS_TRIVIALLY_COPYABLE ${HAVE_STD_IS_TRIVIALLY_COPYABLE}
  230. /* Define to a function implementing stricmp */
  231. #cmakedefine stricmp ${stricmp}
  232. /* Define to a function implementing strdup */
  233. #cmakedefine strdup ${strdup}
  234. /* Whether GlobalISel rule coverage is being collected */
  235. #cmakedefine01 LLVM_GISEL_COV_ENABLED
  236. /* Define to the default GlobalISel coverage file prefix */
  237. #cmakedefine LLVM_GISEL_COV_PREFIX "${LLVM_GISEL_COV_PREFIX}"
  238. /* Whether Timers signpost passes in Xcode Instruments */
  239. #cmakedefine01 LLVM_SUPPORT_XCODE_SIGNPOSTS
  240. #cmakedefine HAVE_PROC_PID_RUSAGE 1
  241. #endif