llvm-mirror/tools/obj2yaml
Chris Bieneman 9876c44779 [ObjectYAML] [DWARF] Abstract DWARF Initial Length values
In the DWARF 4 Spec section 7.2.2, data in many DWARF sections, and some DWARF structures start with "Initial Length Values", which are a 32-bit length, and an optional 64-bit length if the 32 bit value == UINT32_MAX.

This patch abstracts the Initial Length type in YAML, and extends its use to all the DWARF structures that are supported in the DWARFYAML code that have Initial Length values.

llvm-svn: 296911
2017-03-03 21:11:55 +00:00
..
CMakeLists.txt [obj2yaml] Refactor and abstract dwarf2yaml 2016-12-07 21:47:28 +00:00
coff2yaml.cpp
dwarf2yaml.cpp [ObjectYAML] [DWARF] Abstract DWARF Initial Length values 2017-03-03 21:11:55 +00:00
elf2yaml.cpp [obj2yaml] Produce correct output for invalid relocations. 2017-01-26 23:12:53 +00:00
Error.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
Error.h
macho2yaml.cpp Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
obj2yaml.cpp
obj2yaml.h [ObjectYAML] Remove DWARF from class names 2016-12-08 17:46:57 +00:00