git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131187
91177308-0d34-0410-b5e6-
96231b3b80d8
int
Program::Wait(const Path &path,
unsigned secondsToWait,
- std::string* ErrMsg) {
+ std::string* ErrMsg,
+ const char* /*SignalPrefix*/) {
if (Data_ == 0) {
MakeErrMsg(ErrMsg, "Process not started!");
return -1;
// Add a prefix to ErrMsg if the program is terminated by a signal to
// 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 - ";
/// RunProgramWithTimeout - This function provides an alternate interface