Skip to content

[llvm] Include LLVM_REPOSITORY and LLVM_REVISION in tool version (#84… #8395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

JDevlieghere
Copy link

…990)

Include the LLVM_REPOSITORY and LLVM_REVISION in the version output of tools using cl::PrintVersionMessage() such as dwarfdump and dsymutil.

Before:

$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
  LLVM version 19.0.0git
  Optimized build with assertions.

After:

$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
  LLVM version 19.0.0git ([email protected]:llvm/llvm-project.git 8467457afc61d70e881c9817ace26356ef757733)
  Optimized build with assertions.

rdar://121526866
(cherry picked from commit 6885810)

…m#84990)

Include the `LLVM_REPOSITORY` and `LLVM_REVISION` in the version output
of tools using `cl::PrintVersionMessage()` such as dwarfdump and
dsymutil.

Before:

```
$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
  LLVM version 19.0.0git
  Optimized build with assertions.
```

After:

```
$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
  LLVM version 19.0.0git ([email protected]:llvm/llvm-project.git 8467457)
  Optimized build with assertions.
```

rdar://121526866
(cherry picked from commit 6885810)
@JDevlieghere
Copy link
Author

@swift-ci test

@JDevlieghere JDevlieghere merged commit 518f28d into stable/20230725 Mar 14, 2024
@JDevlieghere JDevlieghere deleted the jdevlieghere/rdar/121526866 branch March 14, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant