[PATCH] D41923: [WebAssembly] Remove `-allow-undefined-file wasm.syms` from linker args

Sam Clegg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 15:34:52 PST 2018


sbc100 created this revision.
Herald added subscribers: cfe-commits, sunfish, aheejin, jgravelle-google, dschuff, jfb.

See: https://github.com/WebAssembly/tool-conventions/issues/35


Repository:
  rC Clang

https://reviews.llvm.org/D41923

Files:
  lib/Driver/ToolChains/WebAssembly.cpp


Index: lib/Driver/ToolChains/WebAssembly.cpp
===================================================================
--- lib/Driver/ToolChains/WebAssembly.cpp
+++ lib/Driver/ToolChains/WebAssembly.cpp
@@ -62,8 +62,6 @@
     if (Args.hasArg(options::OPT_pthread))
       CmdArgs.push_back("-lpthread");
 
-    CmdArgs.push_back("-allow-undefined-file");
-    CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("wasm.syms")));
     CmdArgs.push_back("-lc");
     AddRunTimeLibs(ToolChain, ToolChain.getDriver(), CmdArgs, Args);
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41923.129351.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180110/461022d3/attachment.bin>


More information about the cfe-commits mailing list