[LLVMdev] Getting exceptions to work?
Talin
viridia at gmail.com
Wed May 20 01:17:46 PDT 2009
Duncan Sands wrote:
> 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.
>
File attached.
I compile and run with:
llvm-as -f ExTest.ll && llc -f ExTest.bc && gcc -g -o ExTest ExTest.s
&& ./ExTest
-- Talin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ExTest.ll
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090520/f569013e/attachment.ksh>
More information about the llvm-dev
mailing list