Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
bamx23 committed Nov 3, 2024
1 parent edfd311 commit 43ec85d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ static KSStackCursor g_stackCursor;
#pragma mark - Callbacks -
// ============================================================================

static KS_NOINLINE void captureStackTrace(void *, std::type_info *tinfo, void (*)(void *)) KS_KEEP_FUNCTION_IN_STACKTRACE
static KS_NOINLINE void captureStackTrace(void *, std::type_info *tinfo,
void (*)(void *)) KS_KEEP_FUNCTION_IN_STACKTRACE
{
if (tinfo != nullptr && strcmp(tinfo->name(), "NSException") == 0) {
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
// ============================================================================

static KS_NOINLINE void initStackCursor(KSStackCursor *cursor, NSException *exception, uintptr_t *callstack,
BOOL isUserReported) KS_KEEP_FUNCTION_IN_STACKTRACE
BOOL isUserReported) KS_KEEP_FUNCTION_IN_STACKTRACE
{
// Use stacktrace from NSException if present,
// otherwise use current thread (can happen for user-reported exceptions).
Expand Down Expand Up @@ -92,7 +92,7 @@ static KS_NOINLINE void initStackCursor(KSStackCursor *cursor, NSException *exce
* @param exception The exception that was raised.
*/
static KS_NOINLINE void handleException(NSException *exception, BOOL isUserReported,
BOOL logAllThreads) KS_KEEP_FUNCTION_IN_STACKTRACE
BOOL logAllThreads) KS_KEEP_FUNCTION_IN_STACKTRACE
{
KSLOG_DEBUG(@"Trapped exception %@", exception);
if (g_isEnabled) {
Expand Down

0 comments on commit 43ec85d

Please sign in to comment.