[Lldb-commits] [PATCH] D74859: [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY
Jordan Rupprecht via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 20 10:11:20 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0ffa6e1a7e1c: [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY (authored by rupprecht).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74859/new/
https://reviews.llvm.org/D74859
Files:
lldb/source/lldb.cpp
Index: lldb/source/lldb.cpp
===================================================================
--- lldb/source/lldb.cpp
+++ lldb/source/lldb.cpp
@@ -50,8 +50,10 @@
g_version_str += " (";
if (lldb_repo)
g_version_str += lldb_repo;
+ if (lldb_repo && lldb_rev)
+ g_version_str += " ";
if (lldb_rev) {
- g_version_str += " revision ";
+ g_version_str += "revision ";
g_version_str += lldb_rev;
}
g_version_str += ")";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74859.245687.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200220/531cd24a/attachment-0001.bin>
More information about the lldb-commits
mailing list