Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / unittests / ExecutionEngine / Orc / CMakeLists.txt
blob37768e91fd44729036402c5a068f153e04ce95ad
2 set(LLVM_LINK_COMPONENTS
3   Core
4   ExecutionEngine
5   IRReader
6   JITLink
7   Object
8   OrcJIT
9   OrcShared
10   OrcTargetProcess
11   Passes
12   RuntimeDyld
13   Support
14   TargetParser
15   native
16   )
18 add_llvm_unittest(OrcJITTests
19   CoreAPIsTest.cpp
20   ExecutorAddressTest.cpp
21   ExecutionSessionWrapperFunctionCallsTest.cpp
22   EPCGenericJITLinkMemoryManagerTest.cpp
23   EPCGenericMemoryAccessTest.cpp
24   IndirectionUtilsTest.cpp
25   JITTargetMachineBuilderTest.cpp
26   LazyCallThroughAndReexportsTest.cpp
27   LookupAndRecordAddrsTest.cpp
28   MapperJITLinkMemoryManagerTest.cpp
29   MemoryMapperTest.cpp
30   ObjectFormatsTest.cpp
31   ObjectLinkingLayerTest.cpp
32   OrcCAPITest.cpp
33   OrcTestCommon.cpp
34   ResourceTrackerTest.cpp
35   RTDyldObjectLinkingLayerTest.cpp
36   SharedMemoryMapperTest.cpp
37   SimpleExecutorMemoryManagerTest.cpp
38   SimplePackedSerializationTest.cpp
39   SymbolStringPoolTest.cpp
40   TaskDispatchTest.cpp
41   ThreadSafeModuleTest.cpp
42   WrapperFunctionUtilsTest.cpp
43   )
45 target_link_libraries(OrcJITTests PRIVATE
46                         LLVMTestingSupport
47                         ${ORC_JIT_TEST_LIBS})
49 set_property(TARGET OrcJITTests PROPERTY FOLDER "Tests/UnitTests/ExecutionTests")
51 export_executable_symbols(OrcJITTests)