[DWARFYAML] Add support for emitting DWARF64 .debug_aranges section.
authorXing GUO <higuoxing@gmail.com>
Thu, 11 Jun 2020 00:34:11 +0000 (08:34 +0800)
committerXing GUO <higuoxing@gmail.com>
Thu, 11 Jun 2020 00:35:17 +0000 (08:35 +0800)
commit502a2a80c2bfcfffe41356c9c35e1aaecea57ef0
tree1527245302cb8af1b2129c9b5c34e52a0be0ccfd
parentf743975e0ab6c62839682b0bf09ca0e03269ed51
[DWARFYAML] Add support for emitting DWARF64 .debug_aranges section.

The `debug_info_offset`(`CuOffset`) should be 64-bit width rather than 32-bit width in DWARF64 .debug_aranges section. This patch helps resolve it.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D81528
llvm/lib/ObjectYAML/DWARFEmitter.cpp
llvm/test/tools/yaml2obj/ELF/DWARF/debug-aranges.yaml