Typo and missing checkin from r131186.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131187 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2011-05-11 16:44:08 +00:00
parent 7c863eb8cc
commit 1680832a9b
2 changed files with 3 additions and 2 deletions

View File

@ -332,7 +332,8 @@ Program::Execute(const Path& path,
int int
Program::Wait(const Path &path, Program::Wait(const Path &path,
unsigned secondsToWait, unsigned secondsToWait,
std::string* ErrMsg) { std::string* ErrMsg,
const char* /*SignalPrefix*/) {
if (Data_ == 0) { if (Data_ == 0) {
MakeErrMsg(ErrMsg, "Process not started!"); MakeErrMsg(ErrMsg, "Process not started!");
return -1; return -1;

View File

@ -52,7 +52,7 @@ namespace {
// Add a prefix to ErrMsg if the program is terminated by a signal to // Add a prefix to ErrMsg if the program is terminated by a signal to
// distinguish compiled program crashes from other execution // distinguish compiled program crashes from other execution
// failures. Miscompilation likely to results in SIGSEGV. // failures. Miscompilation likely results in SIGSEGV.
static const char *SignalPrefix = "Signal - "; static const char *SignalPrefix = "Signal - ";
/// RunProgramWithTimeout - This function provides an alternate interface /// RunProgramWithTimeout - This function provides an alternate interface