[lld] [lld][ELF] Support LLVM repository and LLVM revision information (PR #97323)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 6 17:23:54 PDT 2024


yamader wrote:

This change breaks scripts that want to detect the LLD version when `LLLVM_APPEND_VC_REV=off`.
The second block of `ld.lld --version` should only contain the version number.

For example, this change broke a very basic Linux config script.
It expects the second block of `--version` to contain only a period-separated numeric version string.
https://github.com/torvalds/linux/blob/e24b3ff/scripts/ld-version.sh#L50

https://github.com/llvm/llvm-project/pull/97323


More information about the llvm-commits mailing list