1 set(LLVM_LINK_COMPONENTS
5 add_llvm_unittest(SupportTests
11 BlockFrequencyTest.cpp
12 BranchProbabilityTest.cpp
26 FileOutputBufferTest.cpp
27 FormatVariadicTest.cpp
32 LockFileManagerTest.cpp
47 SpecialCaseListTest.cpp
57 TrailingObjectsTest.cpp
62 formatted_raw_ostream_test.cpp
64 raw_pwrite_stream_test.cpp
65 raw_sha1_ostream_test.cpp
69 # Disable all warning for AlignOfTest.cpp,
70 # as it does things intentionally, and there is no reliable way of
71 # disabling all warnings for all the compilers by using pragmas.
72 set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
74 # ManagedStatic.cpp uses <pthread>.
75 target_link_libraries(SupportTests ${LLVM_PTHREAD_LIB})
77 add_subdirectory(DynamicLibrary)