1 set(LLVM_LINK_COMPONENTS
5 add_llvm_unittest(SupportTests
11 BlockFrequencyTest.cpp
12 BranchProbabilityTest.cpp
27 FileOutputBufferTest.cpp
28 FormatVariadicTest.cpp
33 LockFileManagerTest.cpp
45 ReverseIterationTest.cpp
49 SpecialCaseListTest.cpp
59 TrailingObjectsTest.cpp
64 formatted_raw_ostream_test.cpp
66 raw_pwrite_stream_test.cpp
67 raw_sha1_ostream_test.cpp
71 target_link_libraries(SupportTests PRIVATE LLVMTestingSupport)
73 # Disable all warning for AlignOfTest.cpp,
74 # as it does things intentionally, and there is no reliable way of
75 # disabling all warnings for all the compilers by using pragmas.
76 set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
78 # ManagedStatic.cpp uses <pthread>.
79 target_link_libraries(SupportTests PRIVATE LLVMTestingSupport ${LLVM_PTHREAD_LIB})
81 add_subdirectory(DynamicLibrary)