search for: exceptiontest

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

2008 Mar 16
1
[LLVMdev] exception handling broken on x86-64?
On Mar 16, 2008, at 5:07 AM, Duncan Sands wrote: >> Did anything ever come of the work on exception handling for x86_64? >> >> I'm having problems with exceptions on linux x86_64. > > I'm fairly sure that exception handling doesn't currently work on > x86-64 linux (it may work with darwin - not sure). I don't know > what it would take to get it to
2009 May 18
4
[LLVMdev] Getting exceptions to work?
...code. I managed to boil down the IR to the simplest possible example that I can think of. If anyone on this list can tell me what changes I need to make to the following code to get it to work (i.e. return 0 instead of a bus error), it would make my life immensely better. ; ModuleID = 'ExceptionTest' %Object = type {} %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 } %Throwable = type { %Object, %UnwindInfo } define i32 @main(i32, i8**) nounwind { entry: invoke fastcc void @throwSomething() to label %nounwind unwind label %catch...
2009 May 18
0
[LLVMdev] Getting exceptions to work?
...IR to the simplest > possible example that I can think of. > > If anyone on this list can tell me what changes I need to make to the > following code to get it to work (i.e. return 0 instead of a bus > error), it would make my life immensely better. > > ; ModuleID = 'ExceptionTest' > %Object = type {} > %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 } > %Throwable = type { %Object, %UnwindInfo } > > define i32 @main(i32, i8**) nounwind { > entry: > invoke fastcc void @throwSomething() to label %nounwi...
2008 Mar 21
0
[LLVMdev] exception handling broken on x86-64?
Hello, Robert > I had hoped this would work --- and if I use llvm-g++ to compile > exceptiontest.cpp to native code it does. But it looks like the JIT > is producing stack frames that the C++ runtime doesn't like. Yes, surely. Emission of frames 'on fly' won't automatically make them visible for the unwinding runtime. JIT currently doesn't register these frames at all...
2009 May 19
5
[LLVMdev] Getting exceptions to work?
...; possible example that I can think of. >> >> If anyone on this list can tell me what changes I need to make to the >> following code to get it to work (i.e. return 0 instead of a bus >> error), it would make my life immensely better. >> >> ; ModuleID = 'ExceptionTest' >> %Object = type {} >> %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 } >> %Throwable = type { %Object, %UnwindInfo } >> >> define i32 @main(i32, i8**) nounwind { >> entry: >> invoke fastcc void @throw...
2009 May 19
0
[LLVMdev] Getting exceptions to work?
...I can think of. >>> >>> If anyone on this list can tell me what changes I need to make to the >>> following code to get it to work (i.e. return 0 instead of a bus >>> error), it would make my life immensely better. >>> >>> ; ModuleID = 'ExceptionTest' >>> %Object = type {} >>> %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 } >>> %Throwable = type { %Object, %UnwindInfo } >>> >>> define i32 @main(i32, i8**) nounwind { >>> entry: >>>...