[PATCH] D82203: [FileCheck] Implement -dump-input-context and -dump-input-filter

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 10:15:33 PDT 2020


jdenny marked an inline comment as done.
jdenny added inline comments.


================
Comment at: llvm/utils/FileCheck/FileCheck.cpp:829-836
+           << "Input file: " << InputFilename << "\n"
            << "Check file: " << CheckFilename << "\n"
            << "\n"
            << "-dump-input=help describes the format of the following dump.\n"
+           << "-dump-input-filter=<kind> filters the input lines.\n"
+           << "-dump-input-context=<N> adjusts the context of filtered lines.\n"
+           << "-v and -vv add more annotations.\n"
----------------
arsenm wrote:
> I already disliked the extra noise this message adds to the failure, and this adds additional lines. Can we only print this kind of information in a help mode?
Sure, I can move the new lines into the `-dump-input=help` output.


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