xref: /llvm-project/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt (revision 4ecbfacf9ecdc5bd9bf699d400c5058071b9500c)
1set(LLVM_LINK_COMPONENTS
2  ${LLVM_TARGETS_TO_BUILD}
3  AsmPrinter
4  BinaryFormat
5  CodeGenTypes
6  DebugInfoDWARF
7  MC
8  Object
9  ObjectYAML
10  Support
11  TargetParser
12  )
13
14add_llvm_unittest(DebugInfoDWARFTests
15  DwarfGenerator.cpp
16  DwarfUtils.cpp
17  DWARFAcceleratorTableTest.cpp
18  DWARFDataExtractorTest.cpp
19  DWARFDebugAbbrevTest.cpp
20  DWARFDebugArangeSetTest.cpp
21  DWARFDebugFrameTest.cpp
22  DWARFDebugInfoTest.cpp
23  DWARFDebugLineTest.cpp
24  DWARFDieTest.cpp
25  DWARFDieManualExtractTest.cpp
26  DWARFExpressionCopyBytesTest.cpp
27  DWARFExpressionCompactPrinterTest.cpp
28  DWARFFormValueTest.cpp
29  DWARFListTableTest.cpp
30  DWARFLocationExpressionTest.cpp
31  )
32
33target_link_libraries(DebugInfoDWARFTests PRIVATE LLVMTestingSupport)
34