[PATCH] D80203: [ObjectYAML][DWARF] Add DWARF entry in ELFYAML.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 22:52:48 PDT 2020


Higuoxing updated this revision to Diff 266739.
Higuoxing added a comment.

Thanks for @grimar 's suggestion, I revert this revision to the previous one with some small changes.

Changes are listed below.

- The error message is changed to `"can only be initialized via the 'DWARF' entry or a section's 'Content' or 'Size' fields"`
- Support the modification of the `sh_link` value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80203/new/

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/DWARF/debug-str.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80203.266739.patch
Type: text/x-patch
Size: 14110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200528/57e6624c/attachment.bin>


More information about the llvm-commits mailing list