[debugserver] Include LLDB_VERSION_SUFFIX in debugserver version
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 3 May 2021 22:04:07 +0000 (15:04 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 3 May 2021 22:05:32 +0000 (15:05 -0700)
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

lldb/tools/debugserver/source/debugserver_vers.c.in

index 00e34c2..0de78f6 100644 (file)
@@ -1,2 +1,2 @@
-const unsigned char debugserverVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:LLDB  PROJECT:lldb-@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@.@LLDB_VERSION_PATCH@" "\n";
+const unsigned char debugserverVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:LLDB  PROJECT:lldb-@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@.@LLDB_VERSION_PATCH@@LLDB_VERSION_SUFFIX@" "\n";
 const double debugserverVersionNumber __attribute__ ((used)) = (double)@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@;