[PATCH] D49003: [Debugify] Export per-pass debug info loss statistics

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 5 17:12:59 PDT 2018


vsk created this revision.
vsk added reviewers: probinson, gbedwell, gramanas, aprantl.
Herald added a subscriber: JDevlieghere.

Add a -debugify-export option to opt. This exports per-pass `debugify`
loss statistics to a file in CSV format.

Here is sample output from running `opt -O2` on the amalgamated sqlite3 sources, exported from Numbers: F6599651: sqlite3.diloss.pdf <https://reviews.llvm.org/F6599651>.


https://reviews.llvm.org/D49003

Files:
  test/DebugInfo/debugify-export.ll
  tools/opt/Debugify.cpp
  tools/opt/Debugify.h
  tools/opt/NewPMDriver.cpp
  tools/opt/PassPrinters.h
  tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49003.154341.patch
Type: text/x-patch
Size: 13526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180706/b25cd38e/attachment.bin>


More information about the llvm-commits mailing list