[PGO] Allow value profile writer interface to allocated target buffer
[oota-llvm.git] / unittests / ExecutionEngine / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Core
3   ExecutionEngine
4   Interpreter
5   MC
6   OrcJIT
7   RuntimeDyld
8   Support
9   )
10
11 add_llvm_unittest(ExecutionEngineTests
12   ExecutionEngineTest.cpp
13   )
14
15 add_subdirectory(Orc)
16
17 # Include MCJIT tests only if native arch is a built JIT target.
18 list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx)
19 list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx)
20 if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0)
21   add_subdirectory(MCJIT)
22 endif()