mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
indicate when a tool is a debug build.
llvm-svn: 24374
This commit is contained in:
parent
17d14b56d9
commit
5853bd7984
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user