One more cleanup to lldb version printing
authorChris Bieneman <beanz@apple.com>
Mon, 14 Nov 2016 22:43:08 +0000 (22:43 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 14 Nov 2016 22:43:08 +0000 (22:43 +0000)
commitbd3d0263f88dd02d9225e2c8afad78dff661556e
tree3f3c7d18127ed61dfa72f24012a5f7df1f8cf5c8
parentd71de87be737746b07b986183ade17bbfe15d5bf
One more cleanup to lldb version printing

With this patch LLDB_VERSION_STRING replaces "lldb version x.x.x" if it is set. This allows builds to not display the open source version numbers if the people making the distribution overrides the LLDB_VERSION_STRING.

Since LLDB_VERSION_STRING is always overridden on Darwin, this means the first line of lldb -version on Darwin is:

lldb-360.99.0 (<repo path> revision <revision>)

llvm-svn: 286899
lldb/packages/Python/lldbsuite/test/help/TestHelp.py
lldb/source/lldb.cpp