1/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- C -*-===*/ 2/* */ 3/* The LLVM Compiler Infrastructure */ 4/* */ 5/* This file is distributed under the University of Illinois Open Source */ 6/* License. See LICENSE.TXT for details. */ 7/* */ 8/*===----------------------------------------------------------------------===*/ 9 10/* This file enumerates variables from the LLVM configuration so that they 11 can be in exported headers and won't override package specific directives. 12 This is a C header that can be included in the llvm-c headers. */ 13 14#ifndef LLVM_CONFIG_H 15#define LLVM_CONFIG_H 16 17/* 18 * When bsd.lib.mk builds shared libraries it builds with -DPIC which 19 * causes problems in the following files which use PIC as a variable name. 20 * undefine PIC here to minimise the diff to upstream LLVM 21 * 22 * include/llvm/MC/MCObjectFileInfo.h 23 * lib/MC/MCObjectFileInfo.cpp 24 * lib/Transforms/Scalar/LICM.cpp 25 * lib/Transforms/Utils/PredicateInfo.cpp 26 */ 27#undef PIC 28 29/* Define if LLVM_ENABLE_DUMP is enabled */ 30/* #undef LLVM_ENABLE_DUMP */ 31 32/* Define if threads enabled */ 33#define LLVM_ENABLE_THREADS 1 34 35/* Has gcc/MSVC atomic intrinsics */ 36#define LLVM_HAS_ATOMICS 1 37 38/* Define if this is Unixish platform */ 39#define LLVM_ON_UNIX 1 40 41/* Define if we have the Intel JIT API runtime support library */ 42#define LLVM_USE_INTEL_JITEVENTS 0 43 44/* Define if we have the oprofile JIT-support library */ 45#define LLVM_USE_OPROFILE 0 46 47/* Define if we have the perf JIT-support library */ 48#define LLVM_USE_PERF 0 49 50/* Major version of the LLVM API */ 51#define LLVM_VERSION_MAJOR 10 52 53/* Minor version of the LLVM API */ 54#define LLVM_VERSION_MINOR 0 55 56/* Patch version of the LLVM API */ 57#define LLVM_VERSION_PATCH 1 58 59/* LLVM version string */ 60#define LLVM_VERSION_STRING "10.0.1" 61 62/* Whether LLVM records statistics for use with GetStatistics(), 63 * PrintStatistics() or PrintStatisticsJSON() 64 */ 65#define LLVM_FORCE_ENABLE_STATS 0 66