Skip to content

Split debug #233

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

Merged
merged 7 commits into from
Jul 3, 2025
Merged

Split debug #233

merged 7 commits into from
Jul 3, 2025

Conversation

r1viollet
Copy link
Collaborator

@r1viollet r1viollet commented Jun 27, 2025

What does this PR do?:

Add build steps to store split debug information for release builds

Motivation:

  • Ensure we can get profiling stacks.
  • Ensure we can investigate crashes without having to disassemble the code.

Additional Notes:

How to test the change?:

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.
  • JIRA: PROF-11788

Unsure? Have a question? Request a review!

Copy link

github-actions bot commented Jun 27, 2025

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Errors (2)

Warnings (4)

Style Violations (297)

Copy link

github-actions bot commented Jun 27, 2025

🔧 Report generated by pr-comment-scanbuild

Add build steps to store split debug information for release builds
@r1viollet r1viollet force-pushed the r1viollet/split_debug branch 2 times, most recently from 108ded7 to 31687e2 Compare July 1, 2025 10:06
- Refactor split debug tasks out of the build
- Check if tooling is available to perform split debug operations
@r1viollet r1viollet force-pushed the r1viollet/split_debug branch 3 times, most recently from a09b7fc to a882f05 Compare July 1, 2025 13:32

### Build Options
- **Skip debug extraction**: `./gradlew buildRelease -Pskip-debug-extraction=true`
- **Debug extraction requires**: `objcopy` (Linux) or `dsymutil` (macOS)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I did not test on MacOS 😬
Feedback appreciated if this fails

@r1viollet r1viollet force-pushed the r1viollet/split_debug branch from a882f05 to c4dd50e Compare July 1, 2025 14:01
@r1viollet r1viollet marked this pull request as ready for review July 1, 2025 14:25
@r1viollet r1viollet force-pushed the r1viollet/split_debug branch from ab25d6a to 35ec2cd Compare July 2, 2025 13:18
@r1viollet r1viollet merged commit 9213a67 into main Jul 3, 2025
95 checks passed
@r1viollet r1viollet deleted the r1viollet/split_debug branch July 3, 2025 12:30
@github-actions github-actions bot added this to the 1.29.0 milestone Jul 3, 2025
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