[PATCH] D22321: Update error message to use "ld.lld" instead of "lld -flavor gnu".
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 14 11:04:50 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL275448: Update error message to use "ld.lld" instead of "lld -flavor gnu". (authored by ruiu).
Changed prior to commit:
https://reviews.llvm.org/D22321?vs=63879&id=64009#toc
Repository:
rL LLVM
https://reviews.llvm.org/D22321
Files:
lld/trunk/tools/lld/lld.cpp
Index: lld/trunk/tools/lld/lld.cpp
===================================================================
--- lld/trunk/tools/lld/lld.cpp
+++ lld/trunk/tools/lld/lld.cpp
@@ -109,7 +109,7 @@
case Darwin:
return !mach_o::link(Args);
default:
- die("-flavor option is missing. Available flavors are "
- "gnu, darwin or link.");
+ die("lld is a generic driver.\n"
+ "Invoke ld.lld (Unix), ld (Mac) or lld-link (Windows) instead.");
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22321.64009.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160714/5dedd6d1/attachment.bin>
More information about the llvm-commits
mailing list