[all-commits] [llvm/llvm-project] 0f9fbb: [lld][ELF] Support LLVM repository and LLVM revisi...
Hongyu Chen via All-commits
all-commits at lists.llvm.org
Tue Jul 2 20:33:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb
https://github.com/llvm/llvm-project/commit/0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb
Author: Hongyu Chen <hongyuchy at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/Common/Version.cpp
M lld/ELF/Driver.cpp
M lld/MinGW/Driver.cpp
M lld/test/ELF/version.test
M lld/test/MinGW/driver.test
Log Message:
-----------
[lld][ELF] Support LLVM repository and LLVM revision information (#97323)
Added LLVM repository and LLVM revision information for
`lld::getLLDVersion()`
Before this change:
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0 (compatible with GNU linkers)
```
After this change with LLVM_APPEND_VC_REV=on
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0 (https://github.com/yugier/llvm-project.git 4134b33c6a362cb462b335177d6d9e8235f04309), compatible with GNU linkers
```
with LLVM_APPEND_VC_REV=off
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0, compatible with GNU linkers
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list