[AArch64] Fix SDNode type mismatches between *.td files and ISel (#116523)
[llvm-project.git] / llvm / unittests / Object / CMakeLists.txt
blob81bc4a5577e681e7d0886a62dc0aae806b0221a2
1 set(LLVM_LINK_COMPONENTS
2   BinaryFormat
3   Object
4   ObjectYAML
5   TargetParser
6   )
8 add_llvm_unittest(ObjectTests
9   ArchiveTest.cpp
10   COFFObjectFileTest.cpp
11   DXContainerTest.cpp
12   ELFObjectFileTest.cpp
13   ELFTypesTest.cpp
14   ELFTest.cpp
15   GOFFObjectFileTest.cpp
16   MinidumpTest.cpp
17   ObjectFileTest.cpp
18   OffloadingTest.cpp
19   SymbolSizeTest.cpp
20   SymbolicFileTest.cpp
21   XCOFFObjectFileTest.cpp
22   )
24 target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)
26 if (MSVC)
27   # Disable warning C4309: '=': truncation of constant value
28   set_source_files_properties(GOFFObjectFileTest.cpp PROPERTIES COMPILE_FLAGS -wd4309)
29 endif()