[Lldb-commits] [PATCH] D115211: [lldb] Make the LLDB version a first class citizen

Nico Weber via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 10 06:01:52 PST 2021


thakis added inline comments.


================
Comment at: lldb/source/CMakeLists.txt:4
-set(lldbBase_SOURCES
-    lldb.cpp
-  )
----------------
thakis wrote:
> should lldb.cpp be deleted too?
fixed in D115438


================
Comment at: lldb/source/Version/Version.cpp:18
+#else
+  return "lldb version " CLANG_VERSION_STRING;
+#endif
----------------
thakis wrote:
> does this intentionally use CLANG_VERSION_STRING instead of LLDB_VERSION_STRING?
> 
> (if not: remove clang/Basic/Version.h include too)
This is still wrong, I think.

(The include is needed for the clang::getclangRevision() call in lldb_private::GetVersion() though.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115211/new/

https://reviews.llvm.org/D115211



More information about the lldb-commits mailing list