search for: eh_throw

Displaying 6 results from an estimated 6 matches for "eh_throw".

Did you mean: __throw
2009 May 26
0
[LLVMdev] Exception Personality Function
...st (i32 (i32, i32, i64, i8*, i8*)* @__tart_eh_personality to i8*), %tart.reflect.Type* @tart.core.InvalidArgumentException.type, %tart.reflect.Type* @tart.core.Throwable.type) ;; subtract offset of UnwindExceptInfo member within class Throwable %0 = bitcast i8* %eh_ptr to [0 x i8]* %eh_throwable = getelementptr [0 x i8]* %0, i32 0, i32 sub (i32 0, i32 ptrtoint (%2* getelementptr ( %tart.core.Throwable* null, i32 0, i32 2) to i32)) ;; Branch based on action from personality func. switch i32 %eh_action, label %catch-InvalidArgumentException [ i32 0, label %catch-Inval...
2006 Nov 20
1
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
...the llvm.stacksave intrinsic. > > $ gcc cbe.c > > /var/tmp//ccVAM4W2.o(.text+0x329a): In function `operator new(unsigned int)': > > : undefined reference to `__cxa_throw' > > [...and more errors] > > $ > > > > But __cxa_throw is right there, in sup/eh_throw.o, and in linked.o, it > > just isn't being emitted as C code. (at this point, I suspect the > > problem might be that I don't quite understand how some of the llvm > > tools are intended to work - e.g. llvm-link vs llvmc) > > CBE doesn't support exceptions ?...
2006 Nov 20
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
...NING: this target does not support the llvm.stacksave intrinsic. > $ gcc cbe.c > /var/tmp//ccVAM4W2.o(.text+0x329a): In function `operator new(unsigned int)': > : undefined reference to `__cxa_throw' > [...and more errors] > $ > > But __cxa_throw is right there, in sup/eh_throw.o, and in linked.o, it > just isn't being emitted as C code. (at this point, I suspect the > problem might be that I don't quite understand how some of the llvm > tools are intended to work - e.g. llvm-link vs llvmc) CBE doesn't support exceptions ? > Strangely enough: &g...
2006 Nov 20
4
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
...llc -o=cbe.c -march=c linked.o WARNING: this target does not support the llvm.stacksave intrinsic. $ gcc cbe.c /var/tmp//ccVAM4W2.o(.text+0x329a): In function `operator new(unsigned int)': : undefined reference to `__cxa_throw' [...and more errors] $ But __cxa_throw is right there, in sup/eh_throw.o, and in linked.o, it just isn't being emitted as C code. (at this point, I suspect the problem might be that I don't quite understand how some of the llvm tools are intended to work - e.g. llvm-link vs llvmc) Strangely enough: $ llvm-g++ -emit-llvm -c x.cpp $ llvm-link -o=linked.o x.o...
2013 Dec 20
1
[LLVMdev] spilling & restoring registers for EHReturn & return _Unwind_Reason_Code
...particularly functions that call @llvm.eh.unwind.init(). I reinforced this assumption by swapping the assembler output from the llvm-gcc lib into my new lib for some such functions - and exceptions 'seem' to work again. (the critical functions being found in eh_personality.o, unwind-dw2.o, eh_throw.o) Looking at functions built using the llvm3.0-gcc front end, I noticed that R0 & R1 were spilled/restored (clobbering '_Unwind_Reason_Code') , along with the callee saved regs. So how are things meant to work? For example take: define i32 @_Unwind_RaiseException(%struct._Unwind...
2007 Feb 25
6
Crash occurs where EventMachine.connect is
..../src/libstdc++-v3/libsupc++/eh_terminate.cc:43 #5 0xb7b31f92 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:53 #6 0xb7b320ca in __cxa_throw (obj=0x8117238, tinfo=0xb7b5531c, dest=0xb7ad0d50 <~runtime_error>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:77 #7 0xb7b6e017 in evma_connect_to_server (server=0x80ccad8 "localhost", port=8080) at cmain.cpp:92 #8 0xb7b6c455 in t_connect_server (self=3082803140, server=3082609960, port=16161) at rubymain.cpp:207 Is it possible to die more gracefully, i.e. by raising an exception? Alt...