[all-commits] [llvm/llvm-project] 369f91: [DebugInfo] Simplify string table dumpers.

Xing GUO via All-commits all-commits at lists.llvm.org
Tue Sep 1 17:42:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 369f9169a52350365c9dcdcab55a7a5fe2fe6dbf
      https://github.com/llvm/llvm-project/commit/369f9169a52350365c9dcdcab55a7a5fe2fe6dbf
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/test/tools/llvm-dwarfdump/debug-str.yaml

  Log Message:
  -----------
  [DebugInfo] Simplify string table dumpers.

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.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D86918




More information about the All-commits mailing list