[llvm-bugs] [Bug 35428] WebAssembly backend wrongly exports static functions
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 27 18:31:45 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35428
Chen-Pang He <chen.pang.he at jdh8.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Chen-Pang He <chen.pang.he at jdh8.org> ---
Thanks for your explanation. I used to compile with
clang -c tgammaf.c
Hence the static functions were exported. Now I compile with
clang -nostdlib -Wl,--allow-undefined tgammaf.c
Then static functions are generated but not exported, which is
good.
Where is your project? I found jfbastien/musl before, which
implements many C routines in JavaScript. Therefore, I'm trying
a different approach: build from scratch avoid dependency on
JavaScript or Linux as possible.
--
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/20171128/818c7232/attachment.html>
More information about the llvm-bugs
mailing list