[llvm-dev] Enabling exception handling in llvm pass

via llvm-dev llvm-dev at lists.llvm.org
Mon May 1 22:28:19 PDT 2017


Hi everyone,

I have written a LLVM(llvm-3.4) pass which includes try-catch block. When
I am compiling error is displayed which says

cannot use 'try' with exceptions disabled

Please can someone tell me how to enable EH for the same.


-- 
Thanks and Regards
Awanish Pandey
PhD, CSE
IIT Kanpur



More information about the llvm-dev mailing list