[PATCH] D35491: [opt-viewer] Accept directories that are searched for opt.yaml files

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 09:41:45 PDT 2017


anemet created this revision.
Herald added a subscriber: fhahn.

This allows to pass the build directory where all the opt.yaml files are
rather than find | xargs which may invoke opt-viewer multiple times producing
incomplete html output.

The patch generalizes the same functionality from opt-diff.


https://reviews.llvm.org/D35491

Files:
  tools/opt-viewer/opt-diff.py
  tools/opt-viewer/opt-stats.py
  tools/opt-viewer/opt-viewer.py
  tools/opt-viewer/optrecord.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35491.106891.patch
Type: text/x-patch
Size: 4899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170717/20252d23/attachment.bin>


More information about the llvm-commits mailing list