[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]

Andrew Haley aph at redhat.com
Tue Jul 21 08:53:37 PDT 2009


Kenneth Uildriks wrote:
> On Tue, Jul 21, 2009 at 10:09 AM, Duncan Sands<baldrick at free.fr> wrote:
>>> Yes.  Wasn't that obvious?  Sorry, I don't understand what point you're
>>> trying to make.
>> I noticed that some people (not you) seem to think that the dwarf
>> unwinder knows special things about signals, pthread_cleanup_pop
>> and whatnot.  I was just trying to say that it does not: all this
>> stuff is covered by the standard exception handling concepts.
> 
> I for one am glad you made that comment.  I've been struggling until
> the other day to understand just what the dwarf unwinder did and how
> it did it and what it depended on and how it was kicked off, and how
> exception objects and signals and pthread_cleanup_pop figured into it.

If you want all the details, there's a full description here:

http://www.codesourcery.com/public/cxx-abi/abi-eh.html

It is officially "for Itanium", but it's really target agnostic.

Andrew.



More information about the llvm-dev mailing list