[llvm-bugs] [Bug 42713] wasm-ld not setting start symbol

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 22 11:52:22 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42713

Ian Douglas Scott <ian at iandouglasscott.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |FIXED

--- Comment #2 from Ian Douglas Scott <ian at iandouglasscott.com> ---
Interesting. So is it then expected that --entry doesn't really do anything
other than (looking at the code in Driver.cpp) verify the symbol exists, set
.forceExport to true, and call .setHidden(false)? This isn't really what I'd
expect; but I guess this reflects how WASM is unusual in that a wasm file that
isn't a "library" can export any number of functions, unlike normal targets
with one entry point.

In which case I suppose there also should be an additional argument to set the
start symbol, though I don't have any immediate need for it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190722/d67279ac/attachment.html>


More information about the llvm-bugs mailing list