<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/149083>149083</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[WebAssembly] Is there a way to enable standard exception handling in clang?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sunfishcode
</td>
</tr>
</table>
<pre>
Is there a way to enable standard (non-legacy) exception handling instructions for C++ exceptions in clang?
I know about `--wasm-use-legacy-eh=false` in llc, however I'm looking for in a way to do this from the clang command line.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEkc1upDoQhZ-m2JRomeJ_waKTCClPcNfGLsA3xo4ok55--xFJa3oz0qwsWXad89WnRdwSmAeoX6B-y_SR1rgPcoTZyWqi5WyK9j68C6aVd0aNN33HFJGDnjyjJB2s3i0CdSGG3POizR2oR_5l-DO5GHDVwXoXFnRB0n6Y81Jwjju-Ar0AvTzfCrqAxuuwQDmCuoK6vuNHiDfUUzwSQqPy_KZlyw_hR1jOK5Rvs_bC0KhzgPcG6BXXeOMv3vEdqN3Qx_hxljhzXXiC2IhpdYLzHrcT8iceTdw2HSx6F_gC6prZobR92euMh6KtqWnapuqydegb3ajZtsZYYqpb1fbV1PW6M40lrbvMDaSoVm3RFKRa6i5UdUXF7WTquZhprqFSvGnnL95_bZe4L5kTOXgoql51Zeb1xF6-DRH97IbolLUP54d8OhaBSnknSZ4jkkv-W-t_PF1FeJv8Heo3_LfJv4r7IyU7dj-sKX0KlFegEWhcXFqP6WLiBjSeBR5H_rnH_9kkoPEbSIDGB9PXQL8DAAD__2sk0KQ">