Skip to content

Commit 2d6c6f7

Browse files
committed
Revert C++ exception structure changes.
The C++ runtime library passes pointers to the middle of the structure, so we need to ignore the fields that were previously missing.
1 parent 137ef59 commit 2d6c6f7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

objcxx_eh.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ static BOOL isKindOfClass(Class thrown, Class type)
7676
*/
7777
struct __cxa_exception
7878
{
79-
#if __LP64__
80-
uintptr_t referenceCount;
81-
#endif
8279
std::type_info *exceptionType;
8380
void (*exceptionDestructor) (void *);
8481
unexpected_handler unexpectedHandler;
@@ -94,9 +91,6 @@ struct __cxa_exception
9491
const char *languageSpecificData;
9592
void *catchTemp;
9693
void *adjustedPtr;
97-
#if !__LP64__
98-
uintptr_t referenceCount;
99-
#endif
10094
_Unwind_Exception unwindHeader;
10195
};
10296

0 commit comments

Comments
 (0)