[PATCH] D81820: [ObjectYAML][ELF] Add support for emitting the .debug_abbrev section.
Xing GUO via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 14 21:19:38 PDT 2020
Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, hiraditya, aprantl, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
This patch enables yaml2elf emit the .debug_line section.
The generated .debug_abbrev is verified using `llvm-dwarfdump`.
Known issues that will be addressed later:
- Current implementation doesn't support generating multiple abbreviation tables in one .debug_abbrev section.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81820
Files:
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/test/tools/yaml2obj/ELF/DWARF/debug-abbrev.yaml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81820.270656.patch
Type: text/x-patch
Size: 9983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200615/1b8b5deb/attachment.bin>
More information about the llvm-commits
mailing list