[PATCH] D82367: [ObjectYAML][ELF] Add support for emitting the .debug_gnu_pubnames/pubtypes sections.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 04:45:10 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

This patch helps add support for emitting the .debug_gnu_pubnames and .debug_gnu_pubtypes sections. Test cases are copy&paste from the .debug_pubnames and .debug_pubtypes.

Known issues:

- Current implementation of these two sections cannot consume the `Descriptor` value since the context of `GNUStyle` is missing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82367

Files:
  llvm/lib/ObjectYAML/DWARFYAML.cpp
  llvm/lib/ObjectYAML/ELFEmitter.cpp
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82367.272676.patch
Type: text/x-patch
Size: 18598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200623/1e416113/attachment-0001.bin>


More information about the llvm-commits mailing list