From 710cb0c7826c61b432e19d5899a2f26f76d7aa81 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Mon, 28 Jan 2013 19:52:37 +0000 Subject: Add support for source and line information to IntelJITEventListener for object emitted by MCJIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173712 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lli/CMakeLists.txt | 2 ++ tools/lli/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/lli') diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index ed479f5323..356233f397 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -11,7 +11,9 @@ endif( LLVM_USE_OPROFILE ) if( LLVM_USE_INTEL_JITEVENTS ) set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} + DebugInfo IntelJITEvents + Object ) endif( LLVM_USE_INTEL_JITEVENTS ) diff --git a/tools/lli/Makefile b/tools/lli/Makefile index 31f3ab8a1e..85ac6b46bb 100644 --- a/tools/lli/Makefile +++ b/tools/lli/Makefile @@ -17,7 +17,7 @@ LINK_COMPONENTS := mcjit jit interpreter nativecodegen bitreader asmparser selec # If Intel JIT Events support is confiured, link against the LLVM Intel JIT # Events interface library ifeq ($(USE_INTEL_JITEVENTS), 1) - LINK_COMPONENTS += inteljitevents + LINK_COMPONENTS += debuginfo inteljitevents object endif # If oprofile support is confiured, link against the LLVM oprofile interface -- cgit v1.2.3