__gxx_personality_v0 update. This is completely untested code. But my brain is...
authorHoward Hinnant <hhinnant@apple.com>
Fri, 6 Jan 2012 20:39:47 +0000 (20:39 +0000)
committerHoward Hinnant <hhinnant@apple.com>
Fri, 6 Jan 2012 20:39:47 +0000 (20:39 +0000)
commitd3dba31762233ae21f0388325055b24b64ce29aa
tree6c9fe986aad0b80120f9f1d41284644b0c4ec146
parent64dc8aa44fea539c415757dec7b0236c09862d4a
__gxx_personality_v0 update.  This is completely untested code.  But my brain is scrambled and I wanted to get it checked in.  Code review from anyone who knows anything at all about personality functions would be much appreciated.  What is in here is borrowed heavily from llvm/examples/ExceptionDemo/ExceptionDemo.cpp.  There are some calls to abort() that should probably be changed to return an error code instead.  There may be encodings under readEncodedPointer that need to be implemented.  And my handling of type_info is almost a complete guess.

llvm-svn: 147680
libcxxabi/src/cxa_personality.cpp