1 set(LLVM_LINK_COMPONENTS
5 add_llvm_unittest(SupportTests
11 BlockFrequencyTest.cpp
12 BranchProbabilityTest.cpp
16 CheckedArithmeticTest.cpp
28 FileOutputBufferTest.cpp
29 FormatVariadicTest.cpp
34 LockFileManagerTest.cpp
46 ReverseIterationTest.cpp
50 SpecialCaseListTest.cpp
60 TrailingObjectsTest.cpp
65 formatted_raw_ostream_test.cpp
67 raw_pwrite_stream_test.cpp
68 raw_sha1_ostream_test.cpp
72 target_link_libraries(SupportTests PRIVATE LLVMTestingSupport)
74 # Disable all warning for AlignOfTest.cpp,
75 # as it does things intentionally, and there is no reliable way of
76 # disabling all warnings for all the compilers by using pragmas.
77 set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
79 # ManagedStatic.cpp uses <pthread>.
80 target_link_libraries(SupportTests PRIVATE LLVMTestingSupport ${LLVM_PTHREAD_LIB})
82 add_subdirectory(DynamicLibrary)