[LLVMdev] Getting exceptions to work?

Duncan Sands baldrick at free.fr
Wed May 20 00:15:02 PDT 2009


Hi Talin,

> So I tried what you suggested, and it just gives me a bus error:

>       %eh_select34 = call i32 (i8*, i8*, ...)*
>           @llvm.eh.selector.i32 (
>               i8* %eh_ptr,
>               i8* bitcast (i32 (i32, i32, i64, i8*, %UnwindContext*)*
>     @__gcc_personality_v0 to i8*),
>               i32 1)

try changing i32 1 to i32 0.  Also, feel free to send me something
I can compile, and I will try it here.

Ciao,

Duncan.



More information about the llvm-dev mailing list