[llvm-locstats] Add the --draw-plot option
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Wed, 15 Jan 2020 10:50:59 +0000 (11:50 +0100)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Wed, 15 Jan 2020 11:00:43 +0000 (12:00 +0100)
commitada964661e2b4d86b0753c99265c812029a3d1d2
tree9af38fbdb62be0f2b35e0df9f6fc57ab67609446
parent46d11e30ee807accefd14e0b7f306647963a39b5
[llvm-locstats] Add the --draw-plot option

When using the option, draw the histogram representing the debug
location buckets. The resulting histogram will be saved in a png
file.

Differential Revision: https://reviews.llvm.org/D71869
llvm/docs/CommandGuide/llvm-locstats.rst
llvm/utils/llvm-locstats/llvm-locstats.py