mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
c0a6317d37
This patch adds the ability for the ObjectYAML DWARFEmitter to calculate the lengths of DIEs. This is accomplished by creating a DIEFixupVisitor class which traverses the DWARF DIEs to calculate and fix up the lengths in the Compile Unit header. The DIEFixupVisitor can be extended in the future to enable more complex fix ups which will enable simplified YAML string representations. This is also very useful when using the YAML format in unit tests because you no longer need to know the length of the compile unit when writing the YAML string. Differential commandeered from Chris Bieneman (beanz) Differential revision: https://reviews.llvm.org/D30666 llvm-svn: 330421 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CodeViewYAMLDebugSections.cpp | ||
CodeViewYAMLSymbols.cpp | ||
CodeViewYAMLTypeHashing.cpp | ||
CodeViewYAMLTypes.cpp | ||
COFFYAML.cpp | ||
DWARFEmitter.cpp | ||
DWARFVisitor.cpp | ||
DWARFVisitor.h | ||
DWARFYAML.cpp | ||
ELFYAML.cpp | ||
LLVMBuild.txt | ||
MachOYAML.cpp | ||
ObjectYAML.cpp | ||
WasmYAML.cpp | ||
YAML.cpp |