search for: _urc_end_of_stack

Displaying 5 results from an estimated 5 matches for "_urc_end_of_stack".

2011 Sep 28
0
[LLVMdev] How to code catch-all in the new exception handling scheme?
...ells the unwinder about it. The unwinder, at least the C++ unwinder, calls the personality function in phase 2 telling it that it's in the "cleanup" phase. Not so! If only cleanups are found in phase 1 then the unwinder hits the top of the stack without finding a handler and returns _URC_END_OF_STACK without installing any handlers; note that a cleanup is not considered to be a handler. If the C++ unwinder sees the call to _Unwind_RaiseException return like this then it terminates the program. Cleanups will therefore not have been run. The Ada unwinder behaves differently. If it the call to _...
2011 Sep 27
3
[LLVMdev] How to code catch-all in the new exception handling scheme?
On Sep 27, 2011, at 4:58 AM, Duncan Sands wrote: > Hi Bill, > >>>> I'm looking at the docs, and while it refers to a "catch-all" clause, >>> >>> hopefully Bill will get rid of the first reference to "catch-all" since >>> that section is inaccurate. >>> >> I *think* this is now correct. Please check. :) >
2013 Apr 11
4
[LLVMdev] object file/linking is missing my exception handlers
I have some exception handling which works fine using the JIT. Now I am producing object files and linking them, but the exception handling tables seem to be missing. I call _Unwind_RaiseException and get _URC_END_OF_STACK as a result. I produce my object file using TargetMachine::addPassesToEmitFile and then I link my resulting files with: gcc -o prog input.o -fexceptions I'm sure I'm just missing some option to generate the Dwarf tables, but I can't figure out what it is. For the JIT version I set JI...
2013 Apr 12
0
[LLVMdev] object file/linking is missing my exception handlers
...figure out what this is now. On 11/04/13 06:06, edA-qa mort-ora-y wrote: > I have some exception handling which works fine using the JIT. Now I am > producing object files and linking them, but the exception handling > tables seem to be missing. I call _Unwind_RaiseException and get > _URC_END_OF_STACK as a result. > > I produce my object file using TargetMachine::addPassesToEmitFile and > then I link my resulting files with: > > gcc -o prog input.o -fexceptions > > I'm sure I'm just missing some option to generate the Dwarf tables, but > I can't figure out...
2013 Apr 11
0
[LLVMdev] object file/linking is missing my exception handlers
Hi, On 11/04/13 06:06, edA-qa mort-ora-y wrote: > I have some exception handling which works fine using the JIT. Now I am > producing object files and linking them, but the exception handling > tables seem to be missing. I call _Unwind_RaiseException and get > _URC_END_OF_STACK as a result. you will get this if no catch clauses match (eg because there are no catch clauses, perhaps because you only have cleanups). Maybe the JIT wraps the program in a big catch-all clause? That would cause cleanups to run, and would explain things if you don't have any catch clauses...