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