[PATCH] D86918: [DebugInfo] Simplify string table dumpers.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 01:43:39 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, cmtice, hiraditya.
Herald added a project: LLVM.
Higuoxing requested review of this revision.

This patch adds a helper function DumpStrSection to simplify codes.
Besides, nonprintable chars in debug_str and debug_str.dwo sections
are printed as escaped chars.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86918

Files:
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/test/tools/llvm-dwarfdump/debug-str-dwo.yaml
  llvm/test/tools/llvm-dwarfdump/debug-str.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86918.289102.patch
Type: text/x-patch
Size: 5078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/189a5747/attachment.bin>


More information about the llvm-commits mailing list