2012-03-13 16:33:15 +08:00
|
|
|
|
2012-11-06 03:06:05 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser selectiondag native)
|
2010-09-14 07:59:48 +08:00
|
|
|
|
2012-03-13 16:33:15 +08:00
|
|
|
if( LLVM_USE_OPROFILE )
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
${LLVM_LINK_COMPONENTS}
|
|
|
|
OProfileJIT
|
|
|
|
)
|
|
|
|
endif( LLVM_USE_OPROFILE )
|
|
|
|
|
|
|
|
if( LLVM_USE_INTEL_JITEVENTS )
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
${LLVM_LINK_COMPONENTS}
|
|
|
|
IntelJITEvents
|
|
|
|
)
|
|
|
|
endif( LLVM_USE_INTEL_JITEVENTS )
|
|
|
|
|
2008-09-22 09:08:49 +08:00
|
|
|
add_llvm_tool(lli
|
|
|
|
lli.cpp
|
2012-09-06 02:15:08 +08:00
|
|
|
RecordingMemoryManager.cpp
|
|
|
|
RemoteTarget.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
)
|