Skip to content

Commit

Permalink
Revert C++ exception structure changes.
Browse files Browse the repository at this point in the history
The C++ runtime library passes pointers to the middle of the structure,
so we need to ignore the fields that were previously missing.
  • Loading branch information
davidchisnall committed Apr 26, 2019
1 parent 137ef59 commit 2d6c6f7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions objcxx_eh.cc
Expand Up @@ -76,9 +76,6 @@ static BOOL isKindOfClass(Class thrown, Class type)
*/
struct __cxa_exception
{
#if __LP64__
uintptr_t referenceCount;
#endif
std::type_info *exceptionType;
void (*exceptionDestructor) (void *);
unexpected_handler unexpectedHandler;
Expand All @@ -94,9 +91,6 @@ struct __cxa_exception
const char *languageSpecificData;
void *catchTemp;
void *adjustedPtr;
#if !__LP64__
uintptr_t referenceCount;
#endif
_Unwind_Exception unwindHeader;
};

Expand Down

0 comments on commit 2d6c6f7

Please sign in to comment.