[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 21:28:06 PDT 2020


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

Addressed comments:

- Use `std::vector<>::empty()`.
- Use `StringRef`.
- Support emitting `.debug_str` section.
- Add a new directory `ELF/DWARF` for test cases.


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/.#unimplemented-debug-sections.test
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80203.265126.patch
Type: text/x-patch
Size: 9300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200520/75307763/attachment.bin>


More information about the llvm-commits mailing list