[Lldb-commits] [PATCH] D39429: Use LLVM version string

Stephane Sezer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 2 09:56:59 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317218: Use LLVM version string (authored by sas).

Repository:
  rL LLVM

https://reviews.llvm.org/D39429

Files:
  lldb/trunk/source/lldb.cpp


Index: lldb/trunk/source/lldb.cpp
===================================================================
--- lldb/trunk/source/lldb.cpp
+++ lldb/trunk/source/lldb.cpp
@@ -47,13 +47,9 @@
   // as the clang tool.
   static std::string g_version_str;
   if (g_version_str.empty()) {
-
-#ifdef LLDB_VERSION_STRING
-    g_version_str += EXPAND_AND_QUOTE(LLDB_VERSION_STRING);
-#else
     g_version_str += "lldb version ";
     g_version_str += CLANG_VERSION_STRING;
-#endif
+
     const char *lldb_repo = GetLLDBRepository();
     const char *lldb_rev = GetLLDBRevision();
     if (lldb_repo || lldb_rev) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39429.121333.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171102/0c66092c/attachment.bin>


More information about the lldb-commits mailing list