diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-16 06:36:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-16 06:36:47 +0000 |
commit | fdc8b19ad6a2229a5640118e9647ebea08f3a829 (patch) | |
tree | 68f1410080cf98deba2b3547a8605c79dc2ee2d0 /llvm/lib/Support/CommandLine.cpp | |
parent | 4ca13b3f47a5dbcf3dbc7070b5da5ccd2cbed956 (diff) | |
download | bcm5719-llvm-fdc8b19ad6a2229a5640118e9647ebea08f3a829.tar.gz bcm5719-llvm-fdc8b19ad6a2229a5640118e9647ebea08f3a829.zip |
indicate when a tool is a debug build.
llvm-svn: 24374
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index b53706f1684..95887e3c08d 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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); } |