[PATCH] D41793: [Debugify] Add an env var to enable faster testing

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 09:28:07 PST 2018


MatzeB added a comment.

In https://reviews.llvm.org/D41793#969946, @davide wrote:

> In https://reviews.llvm.org/D41793#969945, @MatzeB wrote:
>
> > BTW: I usually do this instead of an env var to force some arguments to all invocations of a tool in lit:
> >
> > `llvm-lit -Dllc="llc -verify-machineinstrs"`
>
>
> If we can go without an enviroment variable, it's even better.
>  BTW, I've never heard of this flag, is it documented somewhere? If not, we probably might want to.


Probably not. I sneaked that into llvms lit.cfg a long time ago as it was only a 1-line thing but probably very few people know about it. Let me write a sentence or two for TestingGuide.rst


https://reviews.llvm.org/D41793





More information about the llvm-commits mailing list