summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-21 02:04:43 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-21 02:04:43 +0000
commitc295914b7ad5a4bd626e85ee4b3563c0e42a93be (patch)
tree91a8c8c846aafd23202bc11315cc42e0c6c78e8c /llvm/lib/Support/CommandLine.cpp
parent756b0076e16b9b0b146640ec8d0ffe0efa8beb1c (diff)
downloadbcm5719-llvm-c295914b7ad5a4bd626e85ee4b3563c0e42a93be.tar.gz
bcm5719-llvm-c295914b7ad5a4bd626e85ee4b3563c0e42a93be.zip
For PR797:
Make sys::Program::ExecuteAndWait not throw exceptions and update any affected code. It now return -9999 to signal that the program couldn't be executed. Only one case (in bugpoint) actually examines the result code. llvm-svn: 29785
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index f7fbef6b728..069940162b4 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -31,7 +31,7 @@ using namespace llvm;
using namespace cl;
// Globals for name and overview of program
-static const char *ProgramName = "<unknown>";
+static const char *ProgramName = "<premain>";
static const char *ProgramOverview = 0;
// This collects additional help to be printed.
OpenPOWER on IntegriCloud