[ObjectYAML][ELF] Add support for emitting the .debug_info section.
authorXing GUO <higuoxing@gmail.com>
Sat, 20 Jun 2020 04:09:22 +0000 (12:09 +0800)
committerXing GUO <higuoxing@gmail.com>
Sat, 20 Jun 2020 04:13:01 +0000 (12:13 +0800)
commit1cfdda57fa63dd6d770ecb4411bd4d2b59e78544
treef60affa507852a77ef0f43992d1d4c0d70aa5110
parent4a7de36afc785070d35a951dfa470d5e91acd540
[ObjectYAML][ELF] Add support for emitting the .debug_info section.

This patch helps add support for emitting the .debug_info section to yaml2elf.

Reviewed By: jhenderson, grimar, MaskRay

Differential Revision: https://reviews.llvm.org/D82073
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml [new file with mode: 0644]