diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-13 15:03:38 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-13 15:03:38 +0000 |
commit | 0069b55b8a70e450fa612534bc13f28b2be28c7e (patch) | |
tree | 2534a64cd827336b28b2fe0ec074b38e612dd1c1 | |
parent | bb9004e0dcef07ef7538784e46bbdd3cb3789d24 (diff) | |
download | llvm-0069b55b8a70e450fa612534bc13f28b2be28c7e.tar.gz llvm-0069b55b8a70e450fa612534bc13f28b2be28c7e.tar.bz2 llvm-0069b55b8a70e450fa612534bc13f28b2be28c7e.tar.xz |
JITEventListener.h: Use llvm-config.h instead of config.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170129 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Config/llvm-config.h.cmake | 6 | ||||
-rw-r--r-- | include/llvm/Config/llvm-config.h.in | 6 | ||||
-rw-r--r-- | include/llvm/ExecutionEngine/JITEventListener.h | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/include/llvm/Config/llvm-config.h.cmake b/include/llvm/Config/llvm-config.h.cmake index 39442926dc..fbc3040dd2 100644 --- a/include/llvm/Config/llvm-config.h.cmake +++ b/include/llvm/Config/llvm-config.h.cmake @@ -112,6 +112,12 @@ /* Installation prefix directory */ #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}" +/* Define if we have the Intel JIT API runtime support library */ +#cmakedefine LLVM_USE_INTEL_JITEVENTS 1 + +/* Define if we have the oprofile JIT-support library */ +#cmakedefine LLVM_USE_OPROFILE 1 + /* Major version of the LLVM API */ #cmakedefine LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR} diff --git a/include/llvm/Config/llvm-config.h.in b/include/llvm/Config/llvm-config.h.in index 9489dfe016..af3a324855 100644 --- a/include/llvm/Config/llvm-config.h.in +++ b/include/llvm/Config/llvm-config.h.in @@ -112,6 +112,12 @@ /* Installation prefix directory */ #undef LLVM_PREFIX +/* Define if we have the Intel JIT API runtime support library */ +#undef LLVM_USE_INTEL_JITEVENTS + +/* Define if we have the oprofile JIT-support library */ +#undef LLVM_USE_OPROFILE + /* Major version of the LLVM API */ #undef LLVM_VERSION_MAJOR diff --git a/include/llvm/ExecutionEngine/JITEventListener.h b/include/llvm/ExecutionEngine/JITEventListener.h index 7bd1fad934..3aa014ee32 100644 --- a/include/llvm/ExecutionEngine/JITEventListener.h +++ b/include/llvm/ExecutionEngine/JITEventListener.h @@ -15,7 +15,7 @@ #ifndef LLVM_EXECUTION_ENGINE_JIT_EVENTLISTENER_H #define LLVM_EXECUTION_ENGINE_JIT_EVENTLISTENER_H -#include "llvm/Config/config.h" +#include "llvm/Config/llvm-config.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/DebugLoc.h" #include <vector> |