[PATCH] D82073: [ObjectYAML][ELF] Add support for emitting the .debug_info section.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 01:35:58 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.
Higuoxing marked an inline comment as done.
Higuoxing added inline comments.


================
Comment at: llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml:456
+
+## g) Test that all the properties can be overridden by the section header when
+## the "debug_info" entry exists.
----------------
In order not to bring too much difficulty. The common tests are very similar to the tests in other DWARF sections, except this one. The property of the `.debug_abbrev` section is overridden as well in this test.


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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82073

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82073.271602.patch
Type: text/x-patch
Size: 26514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/6054b9c9/attachment-0001.bin>


More information about the llvm-commits mailing list