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: unassignedb...@nondot.org
          Reporter: chen.pang...@jdh8.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to