[LLVMdev] unwind/invoke design

Aaron Gray aaronngray.lists at googlemail.com
Mon Jun 15 10:08:10 PDT 2009

> The documentation of unwind/invoke is quite clear and does exactly
> what I need: unwinding the stack. I don't need it to carry an object
> back. I don't need it to figure out what the type of the object is or
> what catch() blocks it matches. I just need it to unwind the stack.
> The rest is my job as a part of the runtime. Unfortunately, I have
> learned that while this works with the bytecode evaluator, it doesn't
> work with the JIT or native codegen [1].

DWARF EH maybe what you want, it has zero overhead on normal calls and I 
believe it is built into LLVM's assemblers. A DWARF style EH is also built 
into the JIT too.


More information about the llvm-dev mailing list