[PATCH] D107416: [lld] Remove unused LLD_REPOSITORY
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 3 17:41:00 PDT 2021
MaskRay created this revision.
MaskRay added reviewers: lld-macho, mstorsjo, thakis.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Looks like a multi-repo remnant.
Distributions who want to customize the string can customize
LLD_VERSION_STRING instead.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D107416
Files:
lld/Common/Version.cpp
Index: lld/Common/Version.cpp
===================================================================
--- lld/Common/Version.cpp
+++ lld/Common/Version.cpp
@@ -15,18 +15,14 @@
#include "VCSVersion.inc"
// Returns a version string, e.g.:
-// lld 9.0.0 (https://github.com/llvm/llvm-project.git 9efdd7ac5e914d3c9fa1ef)
+// LLD 14.0.0 (https://github.com/llvm/llvm-project.git
+// 2d9759c7902c5cbc9a7e3ab623321d5578d51687)
std::string lld::getLLDVersion() {
#ifdef LLD_VENDOR
#define LLD_VENDOR_DISPLAY LLD_VENDOR " "
#else
#define LLD_VENDOR_DISPLAY
#endif
-#if defined(LLD_REPOSITORY) && defined(LLD_REVISION)
- return LLD_VENDOR_DISPLAY "LLD " LLD_VERSION_STRING " (" LLD_REPOSITORY
- " " LLD_REVISION ")";
-#else
return LLD_VENDOR_DISPLAY "LLD " LLD_VERSION_STRING;
-#endif
#undef LLD_VENDOR_DISPLAY
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107416.363918.patch
Type: text/x-patch
Size: 842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/6956b0e9/attachment.bin>
More information about the llvm-commits
mailing list