For PR351:
authorReid Spencer <rspencer@reidspencer.com>
Thu, 22 Dec 2005 20:02:55 +0000 (20:02 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 22 Dec 2005 20:02:55 +0000 (20:02 +0000)
commitc4bb052ecccfafa0ffa928d0b061db35734ee2ee
tree112af45c46e45f8bdca1007868b276d1d13a6bf7
parentd555f413cddb554203e3584047116fd97f6383d6
For PR351:
Generally, remove use of fork/exec from bugpoint in favor of the portable
sys::Program::ExecuteAndWait method. This change requires two new options
to bugpoint to tell it that it is running in "child" mode. In this mode,
it reads its input and runs the passes. The result code signals to the
parent instance of bugpoint what happened (success, fail, crash).

This change should make bugpoint usable on Win32 systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24961 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/BugDriver.cpp
tools/bugpoint/BugDriver.h
tools/bugpoint/OptimizerDriver.cpp
tools/bugpoint/bugpoint.cpp