[LLVMdev] Exception handling question

James Williams junk at giantblob.com
Fri Jan 22 02:17:43 PST 2010


2010/1/22 Duncan Sands <baldrick at free.fr>

> Hi James,
>
>
>  BTW: I'm using LLVM 2.6 compiled from source on Ubuntu 9.10 in case it's
>> relevant.
>>
>
> what do you get if you compile my example using llc?
>

I get the expected output (after changing i32 @llvm.eh.selector() to i64
llvm.eh.selector.i64())

I've now discovered if I remove some other code from the module containing
my original test function, I get correct eh tables including personality and
cleanup. Hence it looks like some other LLVM bitcode that I'm generating is
somehow stuffing up the eh table generation for this function. The problem
bitcode is all verified at both at function and module level before I write
it out it so it looks like whatver bad construct it is I'm generating is
passing the verifier.

Thanks for your help,
-- James

> Ciao,
>
> Duncan.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100122/f69819e3/attachment.html>


More information about the llvm-dev mailing list