[PATCH] D71869: [llvm-locstats] Add the --draw-plot option

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 00:32:51 PST 2019


djtodoro created this revision.
djtodoro added reviewers: vsk, aprantl, dstenb, jmorse.
djtodoro added a project: debug-info.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
djtodoro added a comment.
djtodoro added a parent revision: D71868: [llvm-locstats][NFC] Support OOP concept.

An example of the plot on a GDB binary built with LLVM Trunk.

F11137039: locstats.png <https://reviews.llvm.org/F11137039>


When using the option, draw the histogram representing the debug
location buckets. The resulting histogram will be saved as an image.


https://reviews.llvm.org/D71869

Files:
  llvm/docs/CommandGuide/llvm-locstats.rst
  llvm/docs/CommandGuide/locstats-draw-plot.png
  llvm/utils/llvm-locstats/llvm-locstats.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71869.235262.patch
Type: text/x-patch
Size: 6999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191225/aa3e8677/attachment.bin>


More information about the llvm-commits mailing list