Chris Bieneman 129c056d62 [ObjectYAML][DX] Support yaml2dxcontainer
This patch adds a the first bits of support for a yaml representation
of dxcontainer files.

Since the YAML representation's primary purpose is testing
infrastructure, the yaml representation supports both verbose and a
more friendly format by making computable sizes and offsets optional.
If provided they are validated to be correct, otherwise they are
computed on the fly during emission.

As I expand the format I'll be able to make more size fields optional,
and I will continue to make the format easier to work with.

Depends on D124804

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D124944
2022-06-01 15:34:00 -05:00

16 lines
278 B
CMake

set(LLVM_LINK_COMPONENTS
Object
ObjectYAML
)
add_llvm_unittest(ObjectYAMLTests
DWARFYAMLTest.cpp
DXContainerYAMLTest.cpp
ELFYAMLTest.cpp
MinidumpYAMLTest.cpp
YAML2ObjTest.cpp
YAMLTest.cpp
)
target_link_libraries(ObjectYAMLTests PRIVATE LLVMTestingSupport)