mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-29 07:53:31 +00:00
5cd1dc4987
Summary: This patch refactors the DWARFYAML code for dumping compile units to use a visitor pattern. Using this design will, in the future, enable the DWARF YAML code to perform analysis and mutations of the DWARF DIEs. An example of such mutations would be calculating the length of a compile unit and updating the CU's Length field before writing the DIE. This support will make it easier to craft or modify DWARF tests by hand. Reviewers: lhames Subscribers: mgorny, fhahn, jgosnell, aprantl, llvm-commits Differential Revision: https://reviews.llvm.org/D30357 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297067 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
163 B
CMake
11 lines
163 B
CMake
add_llvm_library(LLVMObjectYAML
|
|
COFFYAML.cpp
|
|
DWARFEmitter.cpp
|
|
DWARFVisitor.cpp
|
|
DWARFYAML.cpp
|
|
ELFYAML.cpp
|
|
MachOYAML.cpp
|
|
ObjectYAML.cpp
|
|
YAML.cpp
|
|
)
|