Revert "DI: Fold constant arguments into a single MDString"
[oota-llvm.git] / unittests / IR / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Analysis
3   AsmParser
4   Core
5   IPA
6   Support
7   )
8
9 set(IRSources
10   AttributesTest.cpp
11   ConstantRangeTest.cpp
12   ConstantsTest.cpp
13   DominatorTreeTest.cpp
14   IRBuilderTest.cpp
15   InstructionsTest.cpp
16   LeakDetectorTest.cpp
17   LegacyPassManagerTest.cpp
18   MDBuilderTest.cpp
19   MetadataTest.cpp
20   PassManagerTest.cpp
21   PatternMatch.cpp
22   TypeBuilderTest.cpp
23   TypesTest.cpp
24   UseTest.cpp
25   UserTest.cpp
26   ValueHandleTest.cpp
27   ValueMapTest.cpp
28   ValueTest.cpp
29   VerifierTest.cpp
30   WaymarkTest.cpp
31   )
32
33 # HACK: Declare a couple of source files as optionally compiled to satisfy the
34 # missing-file-checker in LLVM's weird CMake build.
35 set(LLVM_OPTIONAL_SOURCES
36   ValueMapTest.cpp
37   )
38
39 add_llvm_unittest(IRTests
40   ${IRSources}
41   )