[obj2yaml] Add support for dumping the .debug_ranges section.
authorXing GUO <higuoxing@gmail.com>
Fri, 11 Sep 2020 00:42:16 +0000 (08:42 +0800)
committerXing GUO <higuoxing@gmail.com>
Fri, 11 Sep 2020 00:47:01 +0000 (08:47 +0800)
commit0e47a8d17fe85b4ab810a17cde4178b2729f2363
treed99ac853c7be0d787838f6a6941746c3cc11e6f5
parent035396197a5f129c5ec42e9e46a85c32fa1c1b84
[obj2yaml] Add support for dumping the .debug_ranges section.

This patch adds support for dumping the .debug_ranges section to
elf2yaml.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D87429
llvm/test/tools/obj2yaml/ELF/DWARF/debug-ranges.yaml [new file with mode: 0644]
llvm/tools/obj2yaml/elf2yaml.cpp