[PATCH] D48838: Add wasm-ld to help text Improve error text

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 09:37:11 PDT 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, dschuff.

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D48838

Files:
  tools/lld/lld.cpp


Index: tools/lld/lld.cpp
===================================================================
--- tools/lld/lld.cpp
+++ tools/lld/lld.cpp
@@ -138,6 +138,7 @@
     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, or pass -flavor.");
   }
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48838.153741.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180702/ff506463/attachment.bin>


More information about the llvm-commits mailing list