set(LLVM_LINK_COMPONENTS
BinaryFormat
Object
ObjectYAML
)
add_llvm_unittest(ObjectTests
ArchiveTest.cpp
DXContainerTest.cpp
ELFObjectFileTest.cpp
ELFTypesTest.cpp
ELFTest.cpp
MinidumpTest.cpp
ObjectFileTest.cpp
OffloadingTest.cpp
SymbolSizeTest.cpp
SymbolicFileTest.cpp
XCOFFObjectFileTest.cpp
)
target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)