<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>REOPENED
</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#c6">Comment # 6</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>As you've already found out, typeinfos are defined in libc++abi by design,
which is the same for all C++ platforms that use libc++abi. The reason you
don't need to link libc++abi specifically in the command line when you compile
for your host system (x86, etc) is the shared libraries are present in the
system library directory and they are linked implicitly. But this is not true
for wasm.
The reason the LLVM EH doc does not mention this is, this is not LLVM EH
design, but C++ library specifics. LLVM EH IR is not designed to be only used
by C++. It is a middle level IR that can be used for many different languages.</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>