[PATCH] D86867: [obj2yaml] Add support for dumping the .debug_str section.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 6 03:48:12 PDT 2020


Higuoxing updated this revision to Diff 290132.
Higuoxing marked 2 inline comments as done.
Higuoxing added a comment.

I modified the `getDefaultShEntSize()` function in this revision. If the section name is '.debug_str', the default value of sh_entsize is 1 rather than 0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86867

Files:
  llvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86867.290132.patch
Type: text/x-patch
Size: 6899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200906/1029e748/attachment.bin>


More information about the llvm-commits mailing list