[obj2yaml] Add support for dumping the .debug_str section.
authorXing GUO <higuoxing@gmail.com>
Mon, 7 Sep 2020 11:44:46 +0000 (19:44 +0800)
committerXing GUO <higuoxing@gmail.com>
Mon, 7 Sep 2020 11:46:56 +0000 (19:46 +0800)
commit3097427f93dde9a49f729e995b8d52d91cc30d4c
treedf316f738b61148a0e01db8e7784f57ee3475461
parent136eb79a8846c4e8ff6ba5ccfc0c470ab351fb13
[obj2yaml] Add support for dumping the .debug_str section.

This patch adds support for dumping the .debug_str section to obj2yaml.

Reviewed By: jhenderson

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