projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a560fb6
)
indicate when a tool is a debug build.
author
Chris Lattner
<sabre@nondot.org>
Wed, 16 Nov 2005 06:36:47 +0000
(06:36 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 16 Nov 2005 06:36:47 +0000
(06:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24374
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CommandLine.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index b53706f168446951f3e24d452ec7f0ebfe8372cb..95887e3c08d30f6de7d7b5f23b089d1a9213c81b 100644
(file)
--- a/
lib/Support/CommandLine.cpp
+++ b/
lib/Support/CommandLine.cpp
@@
-941,7
+941,12
@@
public:
void operator=(bool OptionWasSpecified) {
if (OptionWasSpecified) {
std::cerr << "Low Level Virtual Machine (" << PACKAGE_NAME << ") "
- << PACKAGE_VERSION << " (see http://llvm.cs.uiuc.edu/)\n";
+ << PACKAGE_VERSION << " (see http://llvm.org/)";
+#ifndef NDEBUG
+ std::cerr << " DEBUG BUILD\n";
+#else
+ std::cerr << "\n";
+#endif
getOpts().clear(); // Don't bother making option dtors remove from map.
exit(1);
}