mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
Typo and missing checkin from r131186.
llvm-svn: 131187
This commit is contained in:
parent
25d4fce092
commit
9d2b107117
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user