[PATCH] D20105: Implement verbose mode in FlieCheck and Lit to capture whole stdin.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 08:30:23 PDT 2016


filcab added a subscriber: filcab.
filcab added a comment.

This functionality would be really good for those random bugs we only see happening in buildbots.
But I think we should only dump the buffer if there was a problem with it.


================
Comment at: llvm/utils/FileCheck/FileCheck.cpp:1356
@@ -1344,1 +1355,3 @@
   StringRef Buffer = F->getBuffer();
+  if (Verbose) {
+    errs() << "================\nCommand line:";
----------------
I'd prefer to only print out the whole buffer in case we fail.


Repository:
  rL LLVM

http://reviews.llvm.org/D20105





More information about the llvm-commits mailing list