<div dir="ltr">The LLVM coding standards explicitly disallow exceptions<div><br></div><div><a href="http://llvm.org/docs/CodingStandards.html#do-not-use-rtti-or-exceptions">http://llvm.org/docs/CodingStandards.html#do-not-use-rtti-or-exceptions</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, 2017 at 5:28 PM, via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I have written a LLVM(llvm-3.4) pass which includes try-catch block. When<br>
I am compiling error is displayed which says<br>
<br>
cannot use 'try' with exceptions disabled<br>
<br>
Please can someone tell me how to enable EH for the same.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Thanks and Regards<br>
Awanish Pandey<br>
PhD, CSE<br>
IIT Kanpur<br>
<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</font></span></blockquote></div><br></div>