Displaying 3 results from an estimated 3 matches for "f569013e".
2009 May 20
0
[LLVMdev] Getting exceptions to work?
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
2009 May 20
2
[LLVMdev] Getting exceptions to work?
Duncan Sands wrote:
> I would just use the C personality function, __gcc_personality_v0, if
> I were you. It should know where to jump to because the code generators
> record the invoke unwind target in the dwarf exception handling info in
> the object file.
>
>
So I tried what you suggested, and it just gives me a bus error:
define i32 @main(i32, i8**) nounwind {
2009 May 20
3
[LLVMdev] Getting exceptions to work?
...vm-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>