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
37 SpecialCaseListTest.cpp
38 StreamingMemoryObject.cpp
47 formatted_raw_ostream_test.cpp
49 raw_pwrite_stream_test.cpp
52 # ManagedStatic.cpp uses <pthread>.
53 if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD)
54 target_link_libraries(SupportTests pthread)