Add support for source and line information to IntelJITEventListener for object emitt...
[oota-llvm.git] / tools / lli / CMakeLists.txt
1
2 set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser selectiondag native)
3
4 if( LLVM_USE_OPROFILE )
5   set(LLVM_LINK_COMPONENTS
6     ${LLVM_LINK_COMPONENTS}
7     OProfileJIT
8     )
9 endif( LLVM_USE_OPROFILE )
10
11 if( LLVM_USE_INTEL_JITEVENTS )
12   set(LLVM_LINK_COMPONENTS
13     ${LLVM_LINK_COMPONENTS}
14     DebugInfo
15     IntelJITEvents
16     Object
17     )
18 endif( LLVM_USE_INTEL_JITEVENTS )
19
20 add_llvm_tool(lli
21   lli.cpp
22   RecordingMemoryManager.cpp
23   RemoteTarget.cpp
24   )