[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
Duncan Sands
baldrick at free.fr
Tue Jul 21 05:01:32 PDT 2009
Hi Andrew,
> pthread_cleanup_pop() is nothing special, it's just an example of a
> cleanup handler. Cleanups are very similar to exception handlers, but
> with one small difference: they do some work and then call
> _Unwind_Resume() which continues unwinding. The unwinder itself
> doesn't know anything about pthread cleanups, it just executes
> whatever is at the landing pad.
cleanups are turned into invoke + (cleanup code) + _Unwind_Resume by
llvm-gcc.
Ciao,
Duncan.
More information about the llvm-dev
mailing list