1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
AsmPrinter
DebugInfoDWARF
DebugInfoLogicalView
MC
MCDisassembler
Object
TargetParser
)
add_llvm_unittest_with_input_files(DebugInfoLogicalViewTests
../DWARF/DwarfGenerator.cpp
../DWARF/DwarfUtils.cpp
CodeViewReaderTest.cpp
CommandLineOptionsTest.cpp
CompareElementsTest.cpp
DWARFGeneratedTest.cpp
DWARFReaderTest.cpp
SelectElementsTest.cpp
LocationRangesTest.cpp
LogicalElementsTest.cpp
StringPoolTest.cpp
WarningInternalTest.cpp
)
target_link_libraries(DebugInfoLogicalViewTests PRIVATE LLVMTestingSupport)
|