summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-01-28 19:52:37 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-01-28 19:52:37 +0000
commit6d8776a514ed7cbc7f3d72dba729bddbdb9c9034 (patch)
treee9a66930b43a925a4d155818d0b4e0aa2b314352 /llvm/unittests
parent44338e00f841a49abd6f25f9b2cfd2050fa3d449 (diff)
downloadbcm5719-llvm-6d8776a514ed7cbc7f3d72dba729bddbdb9c9034.tar.gz
bcm5719-llvm-6d8776a514ed7cbc7f3d72dba729bddbdb9c9034.zip
Add support for source and line information to IntelJITEventListener for object emitted by MCJIT.
llvm-svn: 173712
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt2
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt
index 11cf784e1e5..3d33e4cb835 100644
--- a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt
+++ b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt
@@ -19,7 +19,9 @@ if( LLVM_USE_INTEL_JITEVENTS )
)
set(LLVM_LINK_COMPONENTS
${LLVM_LINK_COMPONENTS}
+ DebugInfo
IntelJITEvents
+ Object
)
endif( LLVM_USE_INTEL_JITEVENTS )
diff --git a/llvm/unittests/ExecutionEngine/JIT/Makefile b/llvm/unittests/ExecutionEngine/JIT/Makefile
index 9e0bb9ea593..ef8b827a862 100644
--- a/llvm/unittests/ExecutionEngine/JIT/Makefile
+++ b/llvm/unittests/ExecutionEngine/JIT/Makefile
@@ -24,7 +24,7 @@ ifeq ($(USE_INTEL_JITEVENTS), 1)
CPPFLAGS += -I$(INTEL_JITEVENTS_INCDIR)
# Link against the LLVM Intel JIT Evens interface library
- LINK_COMPONENTS += inteljitevents
+ LINK_COMPONENTS += debuginfo inteljitevents object
endif
ifeq ($(USE_OPROFILE), 1)
OpenPOWER on IntegriCloud