llvm-project/lldb
Chris Bieneman b92cfe6804 Unify Darwin and Non-Darwin printing of version output
Summary:
This change unifies and simplifies the code paths between the Darwin and non-Darwin code to print the LLDB version information.

It also introduces a new variable in CMake LLDB_VERSION_STRING which can be used to specify custom version information. On Darwin this value is implicitly set based on the resource/LLDB-Info.plist file.

With the LLDB_VERSION_STRING variable set to lldb-360.99.0, the -version output is:

> ./bin/lldb -version
lldb version 4.0.0 (lldb-360.99.0)
  clang revision 286264
  llvm revision 286265

This behavior is unified across all target platforms.

Reviewers: lldb-commits

Subscribers: mgorny, tfiala

Differential Revision: https://reviews.llvm.org/D26478

llvm-svn: 286479
2016-11-10 17:33:19 +00:00
..
cmake Unify Darwin and Non-Darwin printing of version output 2016-11-10 17:33:19 +00:00
docs gdb-remote: Add jModulesInfo packet 2016-09-08 10:07:04 +00:00
examples *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
include/lldb Fix weak symbol linkage in SBStructuredData, update docs. 2016-11-09 23:21:04 +00:00
lit [CMake] Fix standalone build 2016-10-21 18:38:44 +00:00
lldb.xcodeproj Unify Darwin and Non-Darwin printing of version output 2016-11-10 17:33:19 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite Un-XFail test on Windows. Has been in "unexpected success" mode for a while. 2016-11-10 17:21:22 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Clean up the stop printing header lines. 2016-11-08 20:36:40 +00:00
source Unify Darwin and Non-Darwin printing of version output 2016-11-10 17:33:19 +00:00
test [CMake] Support LLDB_TEST_CLANG in check-lldb target(s) 2016-11-02 17:19:26 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Link lldb-mi only to the llvm components it uses 2016-11-03 10:52:17 +00:00
unittests [lldb] Don't build unit tests for unsupported targets 2016-11-08 06:49:59 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www Fix weak symbol linkage in SBStructuredData, update docs. 2016-11-09 23:21:04 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
CMakeLists.txt [CMake] Initial support for LLDB.framework 2016-09-21 21:02:16 +00:00
CODE_OWNERS.txt Switch linux and android CODE_OWNERS 2016-08-26 10:06:13 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00