[LLVMbugs] [Bug 47] New: bugpoint --debug --run-llc --args doesn't print args

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Wed Oct 15 13:54:02 PDT 2003


           Summary: bugpoint --debug --run-llc --args doesn't print args
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: bugpoint
        AssignedTo: sabre at nondot.org
        ReportedBy: gaeke+bugs at uiuc.edu

When you run bugpoint with --debug, it is supposed to print out the arguments to
the programs that it compiles and runs using the AbstractInterpreter interface
to GCC. This seems to work the first time GCC::ExecuteProgram() is called, but
not on subsequent occasions.

What seems to be happening is that std::cerr loses any output that gets written
to it, after GCC::ExecuteProgram() calls RunProgramWithTimeout() at
ToolRunner.cpp:315. It's not clear how this invocation of
RunProgramWithTimeout() is different from the earlier ones.

I produced this error today by trying to run bugpoint on the SPECint "GAP"

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list