[PATCH] D45796: [WebAssembly] Honor custom import names
Jacob Gravelle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 24 12:22:53 PDT 2018
jgravelle-google added inline comments.
================
Comment at: wasm/Driver.cpp:359
if (!Config->Entry.empty())
- EntrySym = Symtab->addUndefinedFunction(Config->Entry, 0, nullptr,
+ EntrySym = Symtab->addUndefinedFunction(Config->Entry, "env", 0, nullptr,
&NullSignature);
----------------
These should also probably reference `kDefaultModule`, maybe move that to Writer.h?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D45796
More information about the llvm-commits
mailing list