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

Allow using objcopy instead of objdump for native symbols #484

Merged
merged 14 commits into from
Nov 10, 2022

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Nov 9, 2022

Goal

Support using objcopy instead of objdump to extract native symbols (when supported by the current NDK).

Design

Bugsnag can now be configured with useLegacyNdkSymbolUpload = false on supported projects, which will use objcopy to extract the debug info from native .so files and upload them to a new Bugsnag endpoint. Projects must be configured to use a version of the bugsnag-android SDK of at least 5.26.0 to be considered compatible (an error will be emitted otherwise).

This process is significantly faster and allows us to support NDK toolchains that don't have the old GNU based toolchains (21.1.6352462 and onwards).

Testing

New end to end scenario and updated test fixture.

@lemnik lemnik marked this pull request as ready for review November 9, 2022 18:12
@lemnik lemnik merged commit bff2b3e into next Nov 10, 2022
@lemnik lemnik deleted the integration/objcopy branch November 10, 2022 08:22
@lemnik lemnik mentioned this pull request Nov 10, 2022
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