blob: f3b55c3a4172603e5c878122cd25a89e73fe411c [file] [log] [blame]
Chandler Carruth94d02512012-06-21 09:51:26 +00001set(LLVM_LINK_COMPONENTS
2 Support
Chandler Carruth94d02512012-06-21 09:51:26 +00003 )
4
5add_llvm_unittest(SupportTests
6 AlignOfTest.cpp
7 AllocatorTest.cpp
Jakob Stoklund Olesen17a7d222013-01-05 00:57:11 +00008 ArrayRecyclerTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +00009 BlockFrequencyTest.cpp
Duncan P. N. Exon Smithcd630f22014-04-29 16:12:13 +000010 BranchProbabilityTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000011 Casting.cpp
12 CommandLineTest.cpp
Alexey Samsonov2fb337e2013-04-23 08:28:39 +000013 CompressionTest.cpp
Reid Kleckner7df03c22013-07-16 17:14:33 +000014 ConvertUTFTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000015 DataExtractorTest.cpp
Duncan P. N. Exon Smithb036f1c2015-02-03 21:08:33 +000016 DwarfTest.cpp
Matt Arsenaultd9316422015-02-05 03:30:08 +000017 EndianStreamTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000018 EndianTest.cpp
Michael J. Spencer779c4242013-01-20 20:32:30 +000019 ErrorOrTest.cpp
Nick Kledzik5fce8c42012-08-01 02:29:50 +000020 FileOutputBufferTest.cpp
Chandler Carruth9a6be8b2014-04-24 03:31:23 +000021 IteratorTest.cpp
Logan Chien5b776b72014-02-22 14:00:39 +000022 LEB128Test.cpp
Chandler Carruthf8c52812013-12-27 04:28:57 +000023 LineIteratorTest.cpp
Reid Kleckner7de8ea32013-08-07 01:22:04 +000024 LockFileManagerTest.cpp
Chandler Carruth9a6be8b2014-04-24 03:31:23 +000025 MD5Test.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000026 ManagedStatic.cpp
27 MathExtrasTest.cpp
Andrew Kaylor5e7d7922012-10-04 20:29:44 +000028 MemoryBufferTest.cpp
Andrew Kaylor1f661002012-09-19 20:46:12 +000029 MemoryTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000030 Path.cpp
Chandler Carruth97683aa2012-12-31 11:17:50 +000031 ProcessTest.cpp
Reid Kleckner74679a92013-04-22 19:03:55 +000032 ProgramTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000033 RegexTest.cpp
Duncan P. N. Exon Smith9c62dd52014-06-20 01:30:43 +000034 ScaledNumberTest.cpp
Dmitri Gribenko8f944622013-09-27 21:09:25 +000035 SourceMgrTest.cpp
Alexey Samsonovb7dd3292014-07-09 19:40:08 +000036 SpecialCaseListTest.cpp
Rafael Espindola945d7f52014-11-21 05:15:41 +000037 StreamingMemoryObject.cpp
Nikola Smiljanic89e561a2014-06-19 00:26:49 +000038 StringPool.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000039 SwapByteOrderTest.cpp
Hans Wennborgfabf8bf2013-12-19 20:32:44 +000040 ThreadLocalTest.cpp
NAKAMURA Takumiad187dd2013-07-16 02:03:32 +000041 TimeValueTest.cpp
Alexander Kornienko9aa60fd2013-09-04 16:00:12 +000042 UnicodeTest.cpp
Nick Kledzikf60a9272012-12-12 20:46:15 +000043 YAMLIOTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000044 YAMLParserTest.cpp
Daniel Dunbarb93a2ce2012-09-14 23:36:56 +000045 formatted_raw_ostream_test.cpp
Daniel Dunbar9affb242012-09-14 23:15:56 +000046 raw_ostream_test.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000047 )
NAKAMURA Takumi13437e82014-11-07 16:08:19 +000048
49# ManagedStatic.cpp uses <pthread>.
50if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD)
51 target_link_libraries(SupportTests pthread)
52endif()