1if ( LLVM_INCLUDE_UTILS ) 2 add_subdirectory(ChildTarget) 3endif() 4 5set(LLVM_LINK_COMPONENTS 6 CodeGen 7 Core 8 ExecutionEngine 9 IRReader 10 Interpreter 11 MC 12 MCJIT 13 Object 14 OrcJIT 15 RuntimeDyld 16 SelectionDAG 17 Support 18 Target 19 TransformUtils 20 native 21 ) 22 23if( LLVM_USE_OPROFILE ) 24 set(LLVM_LINK_COMPONENTS 25 ${LLVM_LINK_COMPONENTS} 26 OProfileJIT 27 ) 28endif( LLVM_USE_OPROFILE ) 29 30if( LLVM_USE_INTEL_JITEVENTS ) 31 set(LLVM_LINK_COMPONENTS 32 ${LLVM_LINK_COMPONENTS} 33 DebugInfoDWARF 34 IntelJITEvents 35 Object 36 ) 37endif( LLVM_USE_INTEL_JITEVENTS ) 38 39if( LLVM_USE_PERF ) 40 set(LLVM_LINK_COMPONENTS 41 ${LLVM_LINK_COMPONENTS} 42 DebugInfoDWARF 43 PerfJITEvents 44 Object 45 ) 46endif( LLVM_USE_PERF ) 47 48add_llvm_tool(lli 49 lli.cpp 50 51 DEPENDS 52 intrinsics_gen 53 ) 54export_executable_symbols(lli) 55