[LLVMbugs] [Bug 321] NEW: [bugpoint] Add option for external diff script

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 19 21:09:45 PDT 2004


           Summary: [bugpoint] Add option for external diff script
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: bugpoint
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu
                CC: gaeke+bugs at uiuc.edu,sabre at nondot.org

Too often we want to debug programs whose output is not on stdout, but in a
file, or, worse, in multiple files. The current incarnation of bugpoint is not
suitable for debugging such programs, which, unfortunately, makes it useless for
debugging miscompilation in SPEC benchmarks.

Proposed solution (after discussion with Chris and Brian) is to teach bugpoint
to use an external diff script to diff results of program runs (instead of
diffing stdout and a single "correct output" file), and rely on its exit code to
judge whether a program did what it was supposed to do.

------- 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