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

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 10 08:58:29 PST 2021


JDevlieghere added inline comments.


================
Comment at: lldb/source/Version/Version.cpp:18
+#else
+  return "lldb version " CLANG_VERSION_STRING;
+#endif
----------------
thakis wrote:
> 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.)
Yes, I think this is a remnant from before we computed `LLDB_VERSION_*` correctly in CMake. I'll put up a patch. 


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