[PATCH] D82203: [FileCheck] Implement -dump-input-context, and default to 5
Joel E. Denny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 19 12:32:07 PDT 2020
jdenny added a comment.
I'm thinking there could also be a `-dump-input-filter` command-line option to describe what lines of input should be sought, and `-dump-input-context` would describe how much context around those lines should be printed. It might have values like:
- `all`: include all input lines. The effect is to disable `-dump-input-context`. This is probably best for CI.
- `annotation`: include only input lines with annotations.
- `error`: include only input lines with error diagnostics. This is very nearly what this patch implements now. It would probably be the default.
- `input`: include only raw input lines and no annotations so you can more easily try that exact input again with FileCheck. This also would disable `-dump-input-context`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82203/new/
https://reviews.llvm.org/D82203
More information about the llvm-commits
mailing list