[llvm-bugs] [Bug 35428] New: WebAssembly backend wrongly exports static functions
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 26 17:33:34 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35428
Bug ID: 35428
Summary: WebAssembly backend wrongly exports static functions
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: WebAssembly
Assignee: unassignedbugs at nondot.org
Reporter: chen.pang.he at jdh8.org
CC: llvm-bugs at lists.llvm.org
Created attachment 19476
--> https://bugs.llvm.org/attachment.cgi?id=19476&action=edit
Assembly output with -O3
I've been working on a libc implementation for WebAssembly.
This source file triggers the bug.
https://github.com/jdh8/metallic/blob/master/math/float/tgammaf.c
The static function _right is so bulky that it compiles to a
standalone function, but it's exported as an extern function,
which probably causes name clashes.
No minimal example was conceived due to difficulties to write
a bulky enough function.
--
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/20171127/9e0db9b5/attachment.html>
More information about the llvm-bugs
mailing list