config-linux.h 9.7 KB

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