1 set(LLVM_LINK_COMPONENTS
2 ${LLVM_TARGETS_TO_BUILD}
6 add_llvm_unittest(SupportTests
10 BlockFrequencyTest.cpp
11 BranchProbabilityTest.cpp
21 FileOutputBufferTest.cpp
25 LockFileManagerTest.cpp
38 SpecialCaseListTest.cpp
39 StreamingMemoryObject.cpp
45 TrailingObjectsTest.cpp
49 formatted_raw_ostream_test.cpp
51 raw_pwrite_stream_test.cpp
54 # ManagedStatic.cpp uses <pthread>.
55 if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD)
56 target_link_libraries(SupportTests pthread)