mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +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 | ||
DWARFDebugInfoTest.cpp | ||
DWARFDebugLineTest.cpp | ||
DWARFFormValueTest.cpp | ||
DwarfGenerator.cpp | ||
DwarfGenerator.h | ||
DwarfUtils.cpp | ||
DwarfUtils.h |