[LLVMdev] Exception handling

Shin shigoto.shin at gmail.com
Wed Dec 29 01:01:04 PST 2010


Hi all,

I am trying to convert my C++ code to C code.

I got the steps from FAQ from the link below,

http://llvm.org/docs/FAQ.html#translatecxx

But if my code throws an exception, it aborted with a message like below,

terminate called after throwing an instance of 'int'

I tried -enable-correct-eh-support parameter but no different.
Does anybody know how to make exception handling work with the C++ to
C conversion?

Thanks.

Shin



More information about the llvm-dev mailing list