aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-03-06 20:52:12 +0000
committerChris Bieneman <beanz@apple.com>2017-03-06 20:52:12 +0000
commit8f471f72d1ac97babdd8bb8addff9cc73b8b7313 (patch)
tree013d2e75bce9ea8209df15021bd1a88ad322acca /llvm/lib/CodeGen/CodeGen.cpp
parent23e323f284f5176303120198db6ae0530d724e99 (diff)
downloadllvm-8f471f72d1ac97babdd8bb8addff9cc73b8b7313.zip
llvm-8f471f72d1ac97babdd8bb8addff9cc73b8b7313.tar.gz
llvm-8f471f72d1ac97babdd8bb8addff9cc73b8b7313.tar.bz2
[ObjectYAML] NFC. Refactor DWARFYAML CompileUnit dump code
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 llvm-svn: 297067
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions