1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm/ObjectYAML
Jonas Devlieghere c0a6317d37 [ObjectYAML] Add ability for DWARFYAML to calculate DIE lengths
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
2018-04-20 12:33:49 +00:00
..
CodeViewYAMLDebugSections.h
CodeViewYAMLSymbols.h
CodeViewYAMLTypeHashing.h [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
CodeViewYAMLTypes.h [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
COFFYAML.h [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
DWARFEmitter.h [ObjectYAML] Add ability for DWARFYAML to calculate DIE lengths 2018-04-20 12:33:49 +00:00
DWARFYAML.h
ELFYAML.h Add ELF dynamic symbol support to yaml2obj/obj2yaml 2017-11-16 18:10:15 +00:00
MachOYAML.h [YAML] Add support for non-printable characters 2017-12-18 17:38:03 +00:00
ObjectYAML.h
WasmYAML.h [WebAssembly] Fix broken gcc build after rL326454 2018-03-01 18:48:08 +00:00
YAML.h [YAML] Add support for non-printable characters 2017-12-18 17:38:03 +00:00