<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chen.pang.he@jdh8.org" title="Chen-Pang He <chen.pang.he@jdh8.org>"> <span class="fn">Chen-Pang He</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - WebAssembly backend wrongly exports static functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=35428">bug 35428</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - WebAssembly backend wrongly exports static functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=35428#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - WebAssembly backend wrongly exports static functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=35428">bug 35428</a>
              from <span class="vcard"><a class="email" href="mailto:chen.pang.he@jdh8.org" title="Chen-Pang He <chen.pang.he@jdh8.org>"> <span class="fn">Chen-Pang He</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>