[lldb] Fix LLDB_FULL_VERSION_STRINGCurrently LLDB_FULL_VERSION_STRING is set to "LLDB_VERSION_STRING"rather than the content of the CMake variable with that name.
[lldb] Use LLDB_VERSION_STRING instead of CLANG_VERSION_STRING
[lldb] Make lldbVersion a full fledged libraryBecause of its dependency on clang (and potentially other compilersdownstream, such as swift) lldb_private::GetVersion already lives in itsown librar
[lldb] Make lldbVersion a full fledged libraryBecause of its dependency on clang (and potentially other compilersdownstream, such as swift) lldb_private::GetVersion already lives in itsown library called lldbBase. Despite that, its implementation was spreadacross unrelated files. This patch improves things by introducing aVersion library with its own directory, header and implementation file.The benefits of this patch include: - We can get rid of the ugly quoting macros. - Other parts of LLDB can read the version number from lldb/Version/Version.inc. - The implementation can be swapped out for tools like lldb-server than don't need to depend on clang at all.Differential revision: https://reviews.llvm.org/D115211
show more ...