This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Define LLDB_VERSION_PATCH correctly
ClosedPublic

Authored by dim on Apr 29 2022, 6:24 AM.

Details

Summary

In commit ccf1469a4cdb 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.

Diff Detail

Event Timeline

dim created this revision.Apr 29 2022, 6:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2022, 6:24 AM
dim requested review of this revision.Apr 29 2022, 6:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2022, 6:24 AM
JDevlieghere accepted this revision.Apr 29 2022, 8:22 AM

Good catch. Seems like there's another reference to this in llvm/utils/gn/secondary/lldb/include/lldb/Version/BUILD.gn but otherwise LGTM.

This revision is now accepted and ready to land.Apr 29 2022, 8:22 AM
dim updated this revision to Diff 426110.Apr 29 2022, 10:29 AM

Add llvm/utils/gn/secondary/lldb/include/lldb/Version/BUILD.gn while we're here.

Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2022, 10:29 AM
This revision was landed with ongoing or failed builds.Apr 29 2022, 10:31 AM
This revision was automatically updated to reflect the committed changes.