config-linux.h 9.9 KB

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