diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-10 17:40:12 +0000 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-10 17:40:12 +0000 |
commit | 61d7ecbf84c7deb91752216b82fbb69715b6830a (patch) | |
tree | 734504c6e7210ee4f1354a404363da7793a7abd2 /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | a134d3cfc9d4f3a2db0023f3a6da53d52008c5f5 (diff) | |
download | bcm5719-llvm-61d7ecbf84c7deb91752216b82fbb69715b6830a.tar.gz bcm5719-llvm-61d7ecbf84c7deb91752216b82fbb69715b6830a.zip |
[lit] Extend internal diff to support -U
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 -U1 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 `-U` as a command-line option. This patch adds `-U`
support.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68668
llvm-svn: 374392
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions