Skip to content

Commit 7abfaa0

Browse files
committed
[lldb] Define LLDB_VERSION_PATCH correctly
In commit ccf1469 lldb got its own generated Version.inc file, with `LLDB_VERSION` macros. However, it used `LLDB_VERSION_PATCHLEVEL` instead of the actually correct `LLDB_VERSION_PATCH`. Correct this. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D124672
1 parent 9c8a883 commit 7abfaa0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/include/lldb/Version/Version.inc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
#define LLDB_VERSION_STRING "@LLDB_VERSION@"
33
#define LLDB_VERSION_MAJOR @LLDB_VERSION_MAJOR@
44
#define LLDB_VERSION_MINOR @LLDB_VERSION_MINOR@
5-
#define LLDB_VERSION_PATCHLEVEL @LLDB_VERSION_PATCHLEVEL@
5+
#define LLDB_VERSION_PATCH @LLDB_VERSION_PATCH@
66
#cmakedefine LLDB_FULL_VERSION_STRING "@LLDB_FULL_VERSION_STRING@"

llvm/utils/gn/secondary/lldb/include/lldb/Version/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ write_cmake_config("version") {
99
"LLDB_VERSION=$llvm_version",
1010
"LLDB_VERSION_MAJOR=$llvm_version_major",
1111
"LLDB_VERSION_MINOR=$llvm_version_minor",
12-
"LLDB_VERSION_PATCHLEVEL=$llvm_version_patch",
12+
"LLDB_VERSION_PATCH=$llvm_version_patch",
1313
"LLDB_FULL_VERSION_STRING=",
1414
]
1515
}

0 commit comments

Comments
 (0)