[PATCH] D47114: [FileCheck] Implement -v and -vv for tracing matches

George Karpenkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 13:29:32 PDT 2018


george.karpenkov added subscribers: dblaikie, george.karpenkov.
george.karpenkov added a comment.

@dblaikie @probinson @jdenny In practice it seems hard to modify a command line arg for FileCheck, since it requires changing all tests.
I recently did a similar option in https://reviews.llvm.org/D49328, but used an environment variable instead.
Independently, `lit` has `-v` and `-vv` options which are also hard to set through the `ninja` invocation.

Should we try to standardize on an environment variable, e.g. `DEBUG=1/2/3/4`? Ideally, it could be done automatically when the user does `ninja -v`, but AFAIK it does not set any environment variable which could be set from LIT.


Repository:
  rL LLVM

https://reviews.llvm.org/D47114





More information about the llvm-commits mailing list