Skip to content

Commit

Permalink
Import KSCrash 78c5b4aef43b9895e4a20dc2dca8c4e04a8fd035
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Dec 9, 2014
1 parent 4827a2e commit c15f389
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions KSCrash/Source/KSCrash/Recording/Tools/KSZombie.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ const size_t kszombie_lastDeallocedNSExceptionCallStackLength(void)
uintptr_t callStack[50];
NSUInteger callStackLength;
} g_lastDeallocedException;

#ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
static const NSUInteger g_callStackSize = sizeof(g_lastDeallocedException.callStack) / sizeof(*g_lastDeallocedException.callStack);
#endif

static inline size_t hashIndex(const id object)
{
Expand Down

0 comments on commit c15f389

Please sign in to comment.