[Lldb-commits] [lldb] 2d5d720 - [debugserver] Include LLDB_VERSION_SUFFIX in debugserver version
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon May 3 15:05:41 PDT 2021
Author: Jonas Devlieghere
Date: 2021-05-03T15:05:32-07:00
New Revision: 2d5d720df0bba25f1aa2cea973d3d38dc5afac45
URL: https://github.com/llvm/llvm-project/commit/2d5d720df0bba25f1aa2cea973d3d38dc5afac45
DIFF: https://github.com/llvm/llvm-project/commit/2d5d720df0bba25f1aa2cea973d3d38dc5afac45.diff
LOG: [debugserver] Include LLDB_VERSION_SUFFIX in debugserver version
The lack of a dot before the suffix is intentional, as the suffix itself
includes a dot or dash.
Differential revision: https://reviews.llvm.org/D101655
Added:
Modified:
lldb/tools/debugserver/source/debugserver_vers.c.in
Removed:
################################################################################
diff --git a/lldb/tools/debugserver/source/debugserver_vers.c.in b/lldb/tools/debugserver/source/debugserver_vers.c.in
index 00e34c29b07d..0de78f69fd1c 100644
--- a/lldb/tools/debugserver/source/debugserver_vers.c.in
+++ b/lldb/tools/debugserver/source/debugserver_vers.c.in
@@ -1,2 +1,2 @@
-const unsigned char debugserverVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:LLDB PROJECT:lldb- at LLDB_VERSION_MAJOR@. at LLDB_VERSION_MINOR@. at LLDB_VERSION_PATCH@" "\n";
+const unsigned char debugserverVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:LLDB PROJECT:lldb- at LLDB_VERSION_MAJOR@. at LLDB_VERSION_MINOR@. at LLDB_VERSION_PATCH@@LLDB_VERSION_SUFFIX@" "\n";
const double debugserverVersionNumber __attribute__ ((used)) = (double)@LLDB_VERSION_MAJOR at .@LLDB_VERSION_MINOR@;
More information about the lldb-commits
mailing list