[PATCH] D71868: [llvm-locstats][NFC] Support OOP concept

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 00:23:49 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.

Making these changes, the code becomes more robust and easier for adding the new features.

      
  -Introduce the LocationStats class representing the statistics
  -Add the pretty_print() method in the LocationStats class
  -Add additional '-' for the program options
  -Add the verify_program_inputs() function
  -Add the parse_locstats() function
  -Rename 'results' => 'opts'
  -Add more comments


https://reviews.llvm.org/D71868

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

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


More information about the llvm-commits mailing list