config-linux.h 9.2 KB

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