[all-commits] [llvm/llvm-project] 481c3b: [llvm-dwarfdump] --statistics: break lines and ind...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Aug 22 13:58:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 481c3b8c941c8c9fb2003e8f1f691e3c7774083a
      https://github.com/llvm/llvm-project/commit/481c3b8c941c8c9fb2003e8f1f691e3c7774083a
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
    M llvm/test/tools/llvm-dwarfdump/X86/statistics-base-address.s
    M llvm/test/tools/llvm-dwarfdump/X86/statistics-dwo.test
    M llvm/test/tools/llvm-dwarfdump/X86/statistics-v3.test
    M llvm/test/tools/llvm-dwarfdump/X86/statistics.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-inlining-multi-cu.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-inlining-single-cu.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-mulitple-cu-out-of-line.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-multiple-cu-members.ll
    M llvm/test/tools/llvm-dwarfdump/X86/stats-multiple-cu-same-name.ll
    M llvm/tools/llvm-dwarfdump/Statistics.cpp

  Log Message:
  -----------
  [llvm-dwarfdump] --statistics: break lines and indent by 2

so that the user does not have to pipe the output to `jq` or `python -m json.tool`.
This change makes testing more convenient because `-NEXT` patterns can be used.
The "prettify by default" is a good tradeoff to make. The output size increases a bit.

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




More information about the All-commits mailing list