Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / Driver / CMakeLists.txt
blob752037f78fb147da422b9310210934898cefc54e
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   MC
4   Option
5   Support
6   TargetParser
7   )
9 add_clang_unittest(ClangDriverTests
10   DistroTest.cpp
11   DXCModeTest.cpp
12   GCCVersionTest.cpp
13   ToolChainTest.cpp
14   ModuleCacheTest.cpp
15   MultilibBuilderTest.cpp
16   MultilibTest.cpp
17   SanitizerArgsTest.cpp
18   )
20 clang_target_link_libraries(ClangDriverTests
21   PRIVATE
22   clangDriver
23   clangBasic
24   clangFrontend # For TextDiagnosticPrinter.
25   )