Changes in directory llvm/lib/Support:
CommandLine.cpp updated: 1.68 -> 1.69 --- Log message: Print LLVM version info like this: Low Level Virtual Machine (http://llvm.org/): llvm version 1.8cvs DEBUG build with assertions. instead of like this: Low Level Virtual Machine (llvm) 1.8cvs (see http://llvm.org/) ASSERTIONS ENABLED Also, add a place for vendor version info. --- Diffs of the changes: (+13 -5) CommandLine.cpp | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) Index: llvm/lib/Support/CommandLine.cpp diff -u llvm/lib/Support/CommandLine.cpp:1.68 llvm/lib/Support/CommandLine.cpp:1.69 --- llvm/lib/Support/CommandLine.cpp:1.68 Mon Jun 5 11:22:56 2006 +++ llvm/lib/Support/CommandLine.cpp Thu Jul 6 13:33:03 2006 @@ -972,13 +972,21 @@ void operator=(bool OptionWasSpecified) { if (OptionWasSpecified) { if (OverrideVersionPrinter == 0) { - std::cout << "Low Level Virtual Machine (" << PACKAGE_NAME << ") " - << PACKAGE_VERSION << " (see http://llvm.org/)"; -#ifndef NDEBUG - std::cout << " ASSERTIONS ENABLED\n"; + std::cout << "Low Level Virtual Machine (http://llvm.org/):\n"; + std::cout << " " << PACKAGE_NAME << " version " << PACKAGE_VERSION; +#ifdef LLVM_VERSION_INFO + std::cout << LLVM_VERSION_INFO; +#endif + std::cout << "\n "; +#ifndef __OPTIMIZE__ + std::cout << "DEBUG build"; #else - std::cout << "\n"; + std::cout << "Optimized build"; +#endif +#ifndef NDEBUG + std::cout << " with assertions"; #endif + std::cout << ".\n"; getOpts().clear(); // Don't bother making option dtors remove from map. exit(1); } else { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits