[Lldb-commits] [PATCH] D26478: Unify Darwin and Non-Darwin printing of version output

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 9 15:10:36 PST 2016


beanz created this revision.
beanz added a reviewer: lldb-commits.
beanz added a subscriber: tfiala.
Herald added a subscriber: mgorny.

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.

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

> ./bin/lldb -version

lldb version 4.0.0 (lldb-360.0.0)

  clang revision 286264
  llvm revision 286265

This behavior is unified across all target platforms.


https://reviews.llvm.org/D26478

Files:
  lldb.xcodeproj/project.pbxproj
  source/CMakeLists.txt
  source/lldb.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26478.77403.patch
Type: text/x-patch
Size: 6971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161109/4adc595a/attachment-0001.bin>


More information about the lldb-commits mailing list