X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Flli%2FCMakeLists.txt;h=98f411d07a471916a3837dc1def0f5a4a356af30;hb=7a88b655ccad0f128ea1a5e8ca433a8827a24ff3;hp=bb07af5c2b3518a8625f35d9fc8d54b82b95893c;hpb=cb3c5d8e3ede2e2249cd0f5ba1313fe2221126a5;p=oota-llvm.git diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index bb07af5c2b3..98f411d07a4 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -1,5 +1,24 @@ -set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser selectiondag RuntimeDyld) + +set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag native instrumentation) + +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} + DebugInfo + IntelJITEvents + Object + ) +endif( LLVM_USE_INTEL_JITEVENTS ) add_llvm_tool(lli lli.cpp + RecordingMemoryManager.cpp + RemoteTarget.cpp )