diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-10 17:39:57 +0000 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-10 17:39:57 +0000 |
commit | f4edce12fffee221a16c5829b24281b3e23f423d (patch) | |
tree | 16f574172123f5c9b50e785581a9be71e79b8803 /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | 19e6bb25f05fa24ea445dd455c7f44fc3b036725 (diff) | |
download | bcm5719-llvm-f4edce12fffee221a16c5829b24281b3e23f423d.tar.gz bcm5719-llvm-f4edce12fffee221a16c5829b24281b3e23f423d.zip |
[lit] Extend internal diff to support `-` argument
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff file -
```
Such cases exist now, in `clang/test/Analysis` for example. We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-` as a command-line option. This patch adds support for
`-` to mean stdin.
Reviewed By: probinson, rnk
Differential Revision: https://reviews.llvm.org/D67643
llvm-svn: 374390
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions