[PATCH] D40739: Pass through --undefined to Wasm LLD

Nicholas Wilson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 10:45:11 PST 2017


ncw updated this revision to Diff 125176.
ncw added a comment.

(D'oh, more trouble with arcane commands getting diffs into phabricator... sorry for the spam.)


Repository:
  rC Clang

https://reviews.llvm.org/D40739

Files:
  lib/Driver/ToolChains/WebAssembly.cpp


Index: lib/Driver/ToolChains/WebAssembly.cpp
===================================================================
--- lib/Driver/ToolChains/WebAssembly.cpp
+++ lib/Driver/ToolChains/WebAssembly.cpp
@@ -47,6 +47,7 @@
     CmdArgs.push_back("--strip-all");
 
   Args.AddAllArgs(CmdArgs, options::OPT_L);
+  Args.AddAllArgs(CmdArgs, options::OPT_u);
   ToolChain.AddFilePathLibArgs(Args, CmdArgs);
 
   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40739.125176.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171201/57c961be/attachment.bin>


More information about the cfe-commits mailing list