Skip to content

[ELF] Reinstate the former spelling in the version message #97942

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lld/ELF/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
// of Libtool. We cannot convince every software developer to migrate to
// the latest version and re-generate scripts. So we have this hack.
if (args.hasArg(OPT_v) || args.hasArg(OPT_version))
message(getLLDVersion() + ", compatible with GNU linkers");
message(getLLDVersion() + " (compatible with GNU linkers)");

if (const char *path = getReproduceOption(args)) {
// Note that --reproduce is a debug option so you can ignore it
Expand Down
2 changes: 1 addition & 1 deletion lld/test/ELF/version.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# RUN: ld.lld -V 2>&1 | FileCheck %s
# RUN: not ld.lld -V %t/not-exist 2>&1 | FileCheck %s

# CHECK: LLD {{.*}}, compatible with GNU linkers
# CHECK: LLD {{.+}} (compatible with GNU linkers)
Loading