[PATCH] D80203: [ObjectYAML][DWARF] Add DWARF entry in ELFYAML.
Xing GUO via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 19 04:49:48 PDT 2020
Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, aprantl, davide.
Herald added subscribers: llvm-commits, MaskRay, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
This patch adds a new DWARF entry in ELF YAML file. Sections emitting will be added in next series of patches.
--------------
The basic idea is that we treat these debug sections as implicit sections like `.strtab`/`.symtab`. In future, `reportError()` will be replaced by `initDWARFSectionHeader()` for emitting the content.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80203
Files:
llvm/include/llvm/ObjectYAML/DWARFYAML.h
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/ELF/unimplemented-debug-sections.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80203.264853.patch
Type: text/x-patch
Size: 7493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200519/278da5cd/attachment.bin>
More information about the llvm-commits
mailing list