[lld] r337300 - Add wasm-ld to help text Improve error text
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 17 09:34:48 PDT 2018
Author: sbc
Date: Tue Jul 17 09:34:48 2018
New Revision: 337300
URL: http://llvm.org/viewvc/llvm-project?rev=337300&view=rev
Log:
Add wasm-ld to help text Improve error text
Differential Revision: https://reviews.llvm.org/D48838
Modified:
lld/trunk/tools/lld/lld.cpp
Modified: lld/trunk/tools/lld/lld.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/lld/lld.cpp?rev=337300&r1=337299&r2=337300&view=diff
==============================================================================
--- lld/trunk/tools/lld/lld.cpp (original)
+++ lld/trunk/tools/lld/lld.cpp Tue Jul 17 09:34:48 2018
@@ -138,6 +138,7 @@ int main(int Argc, const char **Argv) {
return !wasm::link(Args, canExitEarly());
default:
die("lld is a generic driver.\n"
- "Invoke ld.lld (Unix), ld64.lld (macOS) or lld-link (Windows) instead.");
+ "Invoke ld.lld (Unix), ld64.lld (macOS), lld-link (Windows), wasm-lld"
+ " (WebAssembly) instead");
}
}
More information about the llvm-commits
mailing list