OSDN Git Service

[Support] Add the 'Error' class for structured error handling.
[android-x86/external-llvm.git] / unittests / Support / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 add_llvm_unittest(SupportTests
6   AlignOfTest.cpp
7   AllocatorTest.cpp
8   ArrayRecyclerTest.cpp
9   BlockFrequencyTest.cpp
10   BranchProbabilityTest.cpp
11   Casting.cpp
12   CommandLineTest.cpp
13   CompressionTest.cpp
14   ConvertUTFTest.cpp
15   DataExtractorTest.cpp
16   DwarfTest.cpp
17   EndianStreamTest.cpp
18   EndianTest.cpp
19   ErrorTest.cpp
20   ErrorOrTest.cpp
21   FileOutputBufferTest.cpp
22   IteratorTest.cpp
23   LEB128Test.cpp
24   LineIteratorTest.cpp
25   LockFileManagerTest.cpp
26   MD5Test.cpp
27   ManagedStatic.cpp
28   MathExtrasTest.cpp
29   MemoryBufferTest.cpp
30   MemoryTest.cpp
31   Path.cpp
32   ProcessTest.cpp
33   ProgramTest.cpp
34   RegexTest.cpp
35   ReplaceFileTest.cpp
36   ScaledNumberTest.cpp
37   SourceMgrTest.cpp
38   SpecialCaseListTest.cpp
39   StreamingMemoryObject.cpp
40   StringPool.cpp
41   SwapByteOrderTest.cpp
42   TargetParserTest.cpp
43   ThreadLocalTest.cpp
44   ThreadPool.cpp
45   TimerTest.cpp
46   TimeValueTest.cpp
47   TypeNameTest.cpp
48   TrailingObjectsTest.cpp
49   UnicodeTest.cpp
50   YAMLIOTest.cpp
51   YAMLParserTest.cpp
52   formatted_raw_ostream_test.cpp
53   raw_ostream_test.cpp
54   raw_pwrite_stream_test.cpp
55   )
56
57 # ManagedStatic.cpp uses <pthread>.
58 target_link_libraries(SupportTests ${PTHREAD_LIB})