diff options
author | Brian Gesiak <modocache@gmail.com> | 2017-06-29 16:20:31 +0000 |
---|---|---|
committer | Brian Gesiak <modocache@gmail.com> | 2017-06-29 16:20:31 +0000 |
commit | 39b88f01a53cc561c0002361eb77b1a4d0d35bfd (patch) | |
tree | 936877baa96f35eddaf6477ce1cf4fb419737afd /llvm/lib | |
parent | ef9fc29d4effcd7186a0a4a0f7e02e25bbcbd7fc (diff) | |
download | bcm5719-llvm-39b88f01a53cc561c0002361eb77b1a4d0d35bfd.tar.gz bcm5719-llvm-39b88f01a53cc561c0002361eb77b1a4d0d35bfd.zip |
[opt-viewer] opt-viewer.py takes -o argument
Summary:
Change how the output directory is specified when invoking
opt-viewer.py, from `opt-viewer.py yaml_file_one yaml_file_two output_dir` to
`opt-viewer.py -o output_dir yaml_file_one yaml_file_two`.
This makes it easier to pipe the results of another command into
opt-viewer.py. For example:
```
find . -name "*.yaml" -print | xargs /path/to/opt-viewer.py -o html
```
Reviewers: anemet, davidxl
Reviewed By: anemet
Subscribers: fhahn, llvm-commits
Differential Revision: https://reviews.llvm.org/D34711
llvm-svn: 306694
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions