2012-06-21 17:51:26 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Support
|
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_unittest(SupportTests
|
|
|
|
AlignOfTest.cpp
|
|
|
|
AllocatorTest.cpp
|
2013-01-05 08:57:11 +08:00
|
|
|
ArrayRecyclerTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
BlockFrequencyTest.cpp
|
2014-04-30 00:12:13 +08:00
|
|
|
BranchProbabilityTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
Casting.cpp
|
|
|
|
CommandLineTest.cpp
|
2013-04-23 16:28:39 +08:00
|
|
|
CompressionTest.cpp
|
2013-07-17 01:14:33 +08:00
|
|
|
ConvertUTFTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
DataExtractorTest.cpp
|
2015-02-04 05:08:33 +08:00
|
|
|
DwarfTest.cpp
|
2015-02-05 11:30:08 +08:00
|
|
|
EndianStreamTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
EndianTest.cpp
|
2013-01-21 04:32:30 +08:00
|
|
|
ErrorOrTest.cpp
|
2012-08-01 10:29:50 +08:00
|
|
|
FileOutputBufferTest.cpp
|
2014-04-24 11:31:23 +08:00
|
|
|
IteratorTest.cpp
|
2014-02-22 22:00:39 +08:00
|
|
|
LEB128Test.cpp
|
2013-12-27 12:28:57 +08:00
|
|
|
LineIteratorTest.cpp
|
2013-08-07 09:22:04 +08:00
|
|
|
LockFileManagerTest.cpp
|
2014-04-24 11:31:23 +08:00
|
|
|
MD5Test.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
ManagedStatic.cpp
|
|
|
|
MathExtrasTest.cpp
|
2012-10-05 04:29:44 +08:00
|
|
|
MemoryBufferTest.cpp
|
2012-09-20 04:46:12 +08:00
|
|
|
MemoryTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
Path.cpp
|
2012-12-31 19:17:50 +08:00
|
|
|
ProcessTest.cpp
|
2013-04-23 03:03:55 +08:00
|
|
|
ProgramTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
RegexTest.cpp
|
2014-06-20 09:30:43 +08:00
|
|
|
ScaledNumberTest.cpp
|
2013-09-28 05:09:25 +08:00
|
|
|
SourceMgrTest.cpp
|
2014-07-10 03:40:08 +08:00
|
|
|
SpecialCaseListTest.cpp
|
2014-11-21 13:15:41 +08:00
|
|
|
StreamingMemoryObject.cpp
|
2014-06-19 08:26:49 +08:00
|
|
|
StringPool.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
SwapByteOrderTest.cpp
|
2013-12-20 04:32:44 +08:00
|
|
|
ThreadLocalTest.cpp
|
2013-07-16 10:03:32 +08:00
|
|
|
TimeValueTest.cpp
|
2013-09-05 00:00:12 +08:00
|
|
|
UnicodeTest.cpp
|
2012-12-13 04:46:15 +08:00
|
|
|
YAMLIOTest.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
YAMLParserTest.cpp
|
2012-09-15 07:36:56 +08:00
|
|
|
formatted_raw_ostream_test.cpp
|
2012-09-15 07:15:56 +08:00
|
|
|
raw_ostream_test.cpp
|
2015-04-14 23:00:34 +08:00
|
|
|
raw_pwrite_stream_test.cpp
|
2012-06-21 17:51:26 +08:00
|
|
|
)
|
2014-11-08 00:08:19 +08:00
|
|
|
|
|
|
|
# ManagedStatic.cpp uses <pthread>.
|
|
|
|
if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD)
|
|
|
|
target_link_libraries(SupportTests pthread)
|
|
|
|
endif()
|