[llvm] r272021 - [lit] Improve logging with file redirection.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 01:13:32 PDT 2016


On Thu, Jun 9, 2016 at 1:36 PM, Hans Wennborg via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On Tue, Jun 7, 2016 at 9:13 AM, Daniel Dunbar via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> > Author: ddunbar
> > Date: Tue Jun  7 11:13:40 2016
> > New Revision: 272021
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=272021&view=rev
> > Log:
> > [lit] Improve logging with file redirection.
> >
> >  - This will cause lit to automatically include the first 1K of data in
> >    redirected output files when a command fails (previously if the
> command
> >    failed, but the main point of the test was, say, a `FileCheck` later
> on, then
> >    the log wasn't helpful in showing why the command failed).
>
> This makes the test suite hang for me on 32-bit Windows builds. It
> runs fine at r272019, but hangs at this revision (and also on
> ToT/r272292).
>
> I'm not sure how to debug this.


Try tracing with procmon:
https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx
(pretty good intro video: https://www.youtube.com/watch?v=m06YqR09UXw)

I can't tell you how many times procmon has saved me :)

-- Sean Silva


> It seems after a while, python.exe
> just sits there waiting for something, with 1, 2, or 0 FileCheck
> processes opened.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160610/3e56adb6/attachment.html>


More information about the llvm-commits mailing list