Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove KSCrash symbols from user-reported exceptions #590

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

bamx23
Copy link
Collaborator

@bamx23 bamx23 commented Nov 3, 2024

A follow up on #588 to fix the content of crashed threads in user reports (both API methods).

@bamx23 bamx23 requested a review from GLinnik21 November 3, 2024 13:00
Sources/KSCrashCore/include/KSCompilerDefines.h Outdated Show resolved Hide resolved
#define HDR_KSCompilerDefines_h

/// Disables optimisations to ensure a function remains in stacktrace.
/// Usually used in pair with `KS_THWART_TAIL_CALL_OPTIMISATION`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is KS_THWART_TAIL_CALL_OPTIMISATION insufficient on its own?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be enough, but function annotation is a bit more readable (IMO).

Base automatically changed from report-nsexception-method to master November 5, 2024 23:23
@bamx23 bamx23 force-pushed the fix-callstack-for-user-reports branch from dc4ec33 to 0236bf0 Compare November 5, 2024 23:27
@bamx23 bamx23 merged commit c7feeb8 into master Nov 5, 2024
29 checks passed
@bamx23 bamx23 deleted the fix-callstack-for-user-reports branch November 5, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants