diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-09-28 17:35:20 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-09-28 17:35:20 +0000 |
commit | 5808c7d828ea87889d8566dd1549f3214a1a09a4 (patch) | |
tree | ca6ad3d264f317d1bd056e6b6f62de421ec09254 /llvm/unittests/ExecutionEngine | |
parent | 19ed6748ea2ff303040702cc6043b9a0c6ca9ce1 (diff) | |
download | bcm5719-llvm-5808c7d828ea87889d8566dd1549f3214a1a09a4.tar.gz bcm5719-llvm-5808c7d828ea87889d8566dd1549f3214a1a09a4.zip |
Removing dependency on third party library for Intel JIT event support.
Patch committed on behalf of Kirill Uhanov
llvm-svn: 164831
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt index d43d72de409..11cf784e1e5 100644 --- a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt +++ b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt @@ -14,8 +14,6 @@ set(LLVM_OPTIONAL_SOURCES ) if( LLVM_USE_INTEL_JITEVENTS ) - include_directories( ${LLVM_INTEL_JITEVENTS_INCDIR} ) - link_directories( ${LLVM_INTEL_JITEVENTS_LIBDIR} ) set(ProfileTestSources IntelJITEventListenerTest.cpp ) diff --git a/llvm/unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp b/llvm/unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp index 438350c187c..d3f66a27e94 100644 --- a/llvm/unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp @@ -11,7 +11,10 @@ using namespace llvm; -#include "llvm/ExecutionEngine/IntelJITEventsWrapper.h" +// Because we want to keep the implementation details of the Intel API used to +// communicate with Amplifier out of the public header files, the header below +// is included from the source tree instead. +#include "../../../lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h" #include <map> #include <list> |