<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:aheejin@gmail.com" title="Heejin Ahn <aheejin@gmail.com>"> <span class="fn">Heejin Ahn</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - throw of a C string is causing an error when targeting wasm32"
   href="https://bugs.llvm.org/show_bug.cgi?id=45171">bug 45171</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;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - throw of a C string is causing an error when targeting wasm32"
   href="https://bugs.llvm.org/show_bug.cgi?id=45171#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - throw of a C string is causing an error when targeting wasm32"
   href="https://bugs.llvm.org/show_bug.cgi?id=45171">bug 45171</a>
              from <span class="vcard"><a class="email" href="mailto:aheejin@gmail.com" title="Heejin Ahn <aheejin@gmail.com>"> <span class="fn">Heejin Ahn</span></a>
</span></b>
        <pre>The symbol is defined in libc++, which is not linked together. Wasm libraries
don't exist by default as shared object files in normal Linux systems. To use
libraries, you can build libraries manually and link, or you can use tools like
Emscripten (<a href="https://emscripten.org/">https://emscripten.org/</a>). 

FYI, wasm native exception handling
(<a href="https://github.com/WebAssembly/exception-handling">https://github.com/WebAssembly/exception-handling</a>) is still in progress and
not all VMs support it. But Emscripten support exception handling using
JavaScript emulation. If you use Emscripten, refer to this page
(<a href="https://emscripten.org/docs/optimizing/Optimizing-Code.html#c-exceptions">https://emscripten.org/docs/optimizing/Optimizing-Code.html#c-exceptions</a>) for
more info.</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>